在 Windows 上部署 rsync 伺服器端,使用 cwRsyncServer 整合包最省力:
cwRsyncServer_4.1.0_Installer.exe,一路「下一步」。SvcCWRSYNC(可自訂帳號密碼)。RsyncServer),建議將啟動類型改為「自動」。



安裝目錄下的 rsyncd.conf(或開始選單捷徑)為主設定檔,關鍵參數範例:
use chroot = false
strict modes = false
hosts allow = 192.168.1.21
max connections = 5
port = 873
uid = 0
gid = 0
log file = /cygdrive/f/RsyncLog/rsyncd.log
[cr173com]
path = /cygdrive/d/cr173/
secrets file = /cygdrive/e/Setting/Rsync/rsync_db.PS
read only = no
list = no
transfer logging = yes

hosts allow:允許連線的客戶端 IP(單一 IP、網段 CIDR、多個用空格隔開,* 表全部)。secrets file:密碼檔格式 username:password,配合 auth users 使用。path:Cygwin 路徑格式(/cygdrive/d/... 對應 D:\...)。read only = no 允許上傳;list = no 隱藏模組不列在清單。解壓綠色包,使用 rsync -avz --password-file=密碼檔 來源/ user@server::模組名 同步。
完成上述設定,即擁有跨平台、增量、加密傳輸的企業級備份方案。