server端:
pid file = /var/run/rsyncd.pid(电脑维护外包)
lock file = /var/run/rsyncd.lock
log file = /var/log/rsyncd.log
transfer logging = yes
log format = %t %a %m %f %b
syslog facility = local3
timeout = 300
max connections = 0
reverse lookup = no(it外包)
[backup]
path = /cms_bak/
comment = snapshot
list = no
read only = false
use chroot = yes
uid = 0
gid = 0
hosts allow = --允许客户端连接的ip(网络维护外包)
hosts deny = *
client端:
rsync -uav 服务端IP::[服务器端名] /home/oracle/backup/
艾锑无限是中国领先IT外包服务商,专业为企业提供IT运维外包、电脑维护、网络维护、网络布线、办公设备维护、服务器维护、数据备份恢复、门禁监控、网站建设等多项IT服务外包,服务热线:400-650-7820 联系电话:010-62684652 咨询QQ1548853602 地址:北京市海淀区北京科技会展2号楼16D,用心服务每一天,为企业的发展提升更高的效率,创造更大的价值。
更多的IT外包信息尽在艾锑无限http://www.itbmw.com
相关文章