1)在10.32.20.25上配置rsync服务端 (administrator/Winit@oa)
use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
lock file = rsyncd.lock
gid = 0
uid = 0
[OA]
path = /cygdrive/F
auth users = administrator
secrets file = /cygdrive/f/cwrsync/rsync_db.ps
read only = no
list = yes
transfer logging = yes
2)在10.32.28.17上配置同步OA应用到10.32.20.25
G:cwRsyncin sync.exe -avz /cygdrive/F/WEAVER administrator@10.32.20.25::OA --password-file=/cygdrive/G/cwRsync/rsync2.ps
3)在10.32.28.17上配置计划任务,每30分钟同步一次。
4)10.32.20.253(linux)->10.32.20.16(windows) rsync -avz /home/backup/WEAVER administrator@10.32.20.16::OA