19,615
社区成员




uid = nobody
gid = nobody
use chroot = no
max connections = 200
timeout = 600
strict modes=no
port = 873
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
[backup]
path = /home/bak/testSync
comment = This is test
auth users = test
secrets file = /etc/rsync.ps
read only = no
list = no
rsync -vzrtopg --progress --password-file=/etc/rsync.pas /www/test/ test@192.168.0.160::backup
#报错如下:
@ERROR: auth failed on module backup
rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6]
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
[backup]
path = /home/bak/testSync/
uid = nobody
gid = nobody
read only = false
ignore errors
secrets file = /etc/rsync.pas
在a服务器下运行如下代码,是正常的:
rsync -vzrtopg --progress /www/test/ rsync://gfdstest@127.0.0.1/backup
在b服务器下运行如下代码,虽然不报错,但是并没有拉取到a服务器中的文件:
[root@vagrant-centos65 backup]# rsync -avz --progress --delete rsync://test@192.168.0.160/backup /home/backup/
receiving incremental file list
sent 28 bytes received 53 bytes 162.00 bytes/sec
total size is 0 speedup is 0.00
在b服务器的/home/backup/下查看,仍然没有拉取到数据。不知道何故。
继续求助,感谢。