Answer the question
In order to leave comments, you need to log in
Debian 8 lsyncd+rsync synchronization - why aren't folder/file permissions copied?
Hello
lsyncd configuration:
settings = {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd.status",
statusInterval = 5,
nodaemon = true,
}
sync {
default.rsyncssh,
source="/var/www/html",
host="remote-ip-addres",
targetdir="/var/www/html",
rsync = {
sparse = true,
update = true,
temp_dir="/tmp/",
links = true,
times = true,
protect_args = false,
archive = true,
compress = true,
whole_file = false,
acls = true,
verbose = true
},
ssh = {
port = 22,
_extra = {"/usr/bin/ssh -l root -p 22 -i /root/.ssh/id_rsa -o StrictHostKeyChecking=no"}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question