rsync daemon服务模式实战详解

vi /etc/rsyncd.conf
uid = rsync 
gid = rsync
use chroot = no
max connections = 200
timeout = 300
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
[backup]
path = /backup
ignore errors
read only = false
list = false
hosts allow = 172.16.1.0/24
hosts deny = 0.0.0.0/32
sth user = rsync_backup
secrets file = /etc/rsync.password

  

可可西里
原文地址:https://www.cnblogs.com/hanyuke/p/7846907.html