Assuming that you want to synchronize from directory c:\srcdir on machine WINCLIENT to directory c:\destdir on machine WINSERVER :
On WINSERVER :
- Install cwRsync Server
- Start RsyncServer service
- Make sure that the service account has write access to c:\destdir. You can use Prep a Dir for Upload wizard from start menu.
- Add a new module to rsyncd.conf :
path = /cygdrive/c/destdir
read only = false
transfer logging = yes
On WINCLIENT :
- Install cwRsync client.
- Use the command below to initiate rsync communication:
"c:\Program Files\cwRsync\bin\rsync" -av /cygdrive/c/srcdir/ WINSERVER::wintest
NB! Keep in mind that the recipe above is suitable for operations within a secure network.