use chroot = yes [documents] path = /storage/public comment = Public uid = nobody gid = nobody read only = no list = yes auth users = rsyncclient secrets file = /etc/rsyncd.secrets hosts allow = 10.0.0.0/255.0.0.0
rsyncclient:passWord backup:Password user:password
sudo chmod 600 /etc/rsyncd.secrets
rsync -avzhe ssh --delete /opt/arcgis/server/usr/directories/ root@10.160.149.26:/opt/arcgis/server/usr/directories
–bwlimit=100 – limit transferring speed to 100 kB/s
–delete – delete files that are not in source directory
–remove-source-files – delete file after transfer (a.k.a moving files :)
–sparse – handle sparse files efficiently