可以同步数据,但会报如下错误
2007/12/13 18:46:00 [8186] rsync: name lookup failed for 192.168.108.201: Name or service not known
2007/12/13 18:46:00 [8186] rsync on webroot from [email=rsync@unknown]rsync@unknown[/email] (192.168.108.201)
2007/12/13 18:46:01 [8186] wrote 58899 bytes read 110 bytes total size 32769660
2007/12/13 18:46:01 [8187] rsync: name lookup failed for 192.168.108.201: Name or service not known
2007/12/13 18:46:01 [8187] rsync on mysql from unknown (192.168.108.201)
2007/12/13 18:46:01 [8187] wrote 3969 bytes read 77 bytes total size 24169404
问题是在需要在服务端这台机上上的/etc/hosts里面添加客户端机的ip和机器名,如果有配DNS的话,那就不会有这样的问题了。