rsync是Linux系统下的一个数据备份工具,很好用。假设服务端(被镜像端)IP为192.168.1.100,镜像端IP为192.168.1.200。
一、服务端设置
安装rsync:
yum install rsync
编辑配置文件:
vim /etc/rsyncd.conf
输入:
uid = nobody
gid = nobody
use chroot = no
max connections = 10
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
hosts allow = *
继续阅读CentOS Linux使用rsync备份