window 2016服务器安装cwrsync
1、下载cwrsync
网址:https://www.backupassist.com/rsync/cwRsyncServer_4.1.0_Installer.zip
2、安装配置
在安装位置修改配置文件
rsyncd.conf
c 盘下面的test文件夹同步
linux 客户端使用命令
rsync -av 服务端IP::test /data/
把服务端上的test文件夹同步到本地data文件夹下
网址:https://www.backupassist.com/rsync/cwRsyncServer_4.1.0_Installer.zip
2、安装配置
在安装位置修改配置文件
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/test
read only = true
transfer logging = yes
pid = 0
uid = 0
gid = 0
c 盘下面的test文件夹同步
linux 客户端使用命令
rsync -av 服务端IP::test /data/
把服务端上的test文件夹同步到本地data文件夹下