Rsync问题

1.问题报错:Operation not permitted.

解决方法:

在配置文件中添加一个参数,

fake super = yes 
#或把运行用户改为root
uid = root
gid = root

2.问题报错:

[root@nfs01 ~]# rsync -av -P /data/  rsync_password@10.0.0.41::data
Password: 
@ERROR: auth failed on module data
rsync error: error starting client-server protocol (code 5) at main.c(1648) [sender=3.1.2]

解决办法:更改密码文件权限

[root@backup ~]# chmod 600 /etc/rsync.password 

 

posted @ 2021-05-14 10:59  张福帅  阅读(78)  评论(0)    收藏  举报