*/1 * * * * rsync -zvrtopg --delete -progress -e 'ssh -p 22' root@172.22.3.181:/opt/rsynctest/ /opt/rstest/

备机配置:rsync -aSvH /webapps/IDManage/ root@172.22.3.181::data --password-file=/etc/sery_client.pass

主机执行:/usr/bin/rsync -vzrtopg --password-file=/etc/rsync.pass  /etc/rsync.pass root@172.22.3.182::picData

/usr/bin/rsync --daemon --config=/etc/rsyncd.conf