This is an old revision of the document!
define rsync mount point in rsyncd.conf
[root] path = /srv/www/htdocs secrets file = /etc/rsyncd/rsync.secret auth users = htdocs read only = false write only = true list = false
rsyncusr:password123
NOTE :
Define script for rsync OR run it from command line.
#!/bin/sh export RSYNC_PASSWORD=password123 /usr/local/bin/rsync -az --delete --exclude='.*' /srv/www/htdocs/ rsync://rsyncusr@rsync.host.com/root/