登录 注册
当前位置:主页 > 资源下载 > 15 > cwRsync server and client for Windows-to-Windows synchronization

cwRsync server and client for Windows-to-Windows synchronization

  • 更新:2024-11-08 14:51:38
  • 大小:6.95MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:其它 - 服务器应用
  • 格式:RAR

资源介绍

服务端: 1.默认安装server端 2.启动Rsyncserver服务 3.在需要同步的文件夹,属性-安全中添加用户SvcCWRSYNC 4.编辑文件C:\Program Files\ICW\rsyncd.conf use chroot = false strict modes = false hosts allow = * log file = rsyncd.log # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # #[test] #path = /cygdrive/c/work #read only = false #transfer logging = yes [test] path = /cygdrive/d/data read only = true #客户端只读 list = no #不允许列出文件 hosts allow=192.168.21.129 #允许连接IP,多个IP中间用英文状态下逗号隔,不限制IP填写 *即可 auth users =userdata #允许连接的用户名 secrets file = etc/rsyncd.secrets #存放用户名密码的认证文件路径 UID = 0 GID = 0 5.创建文件:C:\Program Files\ICW\etc\crsyncd.secrets userdata:123456 客户端 1.创建文件:C:\Program Files\cwRsync\bin\passwd.txt 内容:123456 2.cd "Program Files\cwRsync\bin" rsync.exe -vzrtopg --port=873 --progress --delete userdata@serverIP::databak /cygdrive/e/bak