启动rsync rsync --daemon
rsync.conf需要设置
rsync -vzrtopgu --progress --delete --password-file=/etc/rsync.pass backup@192.168.1.142::test /var/www/test
http://future.blog.51cto.com/26959/83651
http://www.breakeast.com/html/linux/200811/12-60.html
http://hi.baidu.com/ikwen/blog/item/4f1cd9ca5c7cde40f31fe7c9.html
http://www.linuxdiyf.com/bbs/thread-87338-1-1.html
http://hi.baidu.com/ubuntu2me/blog/item/046a061783b0164d21a4e949.html
成功的语句:rsync -vzrtopgu --progress --delete --password-file=/etc/rsync.pass backup@192.168.1.149::test /var/www/test