您的位置:首页 > 运维架构 > 网站架构

windows下使用cwRsync定期备份网站(服务器文件同步)

2009-08-15 15:25 796 查看
use chroot = false strict modes = false hosts allow = * log file = rsyncd.log #LOG pid file = rsyncd.pid secrets file = password # 这里指定了用户名密码文件在其安装目录里,名字叫 password,其内容是txt编辑为 4899:4899 前面是用户名,后面是密码 # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # [webbackup] path = /cygdrive/d/web/ #注意格式,这说明是D盘WEB目录下的4899目录,这是web目录 read only = true #只读 list = no auth users = 4899 #指定用户名 transfer logging = no #是否记录详细的传输情况 [data] path = /cygdrive/d/web/sql_back #这是数据库备分目录 read only = true list = no auth users = 4899 transfer logging = no
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息