安装从机rsync
yum install rsync
vi /etc/rsyncd.conf
uid=root
gid=root
max connections=100
use chroot=no
log file=/var/log/rsyncd.log
pid file=/var/run/rsyncd.pid
lock file=/var/run/rsyncd.lock
[tongbu1] #和sersync相关内容对应
path=/home/wwwroot
#uid = root
comment = tongbu1
ignore errors = yes
read only = no
hosts allow = 10.96.0.48
hosts deny = *
启动服
rsync –daemon
ps -ef | grep rsync
相关文章
- 利用金山逍遥网sersync实现vps网站文件及数据库同步镜像备份 (1.000)
- 使用BTSync实时多设备同步文件 (0.400)