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

  

 

posted on 2017-11-16 22:33  可可西里*  阅读(657)  评论(0编辑  收藏  举报