星期六, 5月 23, 2009

Using cwrsync for synchronization data

Using RSYNC clinet ( Windows platform: cwrsync ) synchronization data:
There are no GUI for now, all Text interface。
  • Windows Side RSYNC client/server: SourceForge DOWNLOAD.
    After download then install it。
  • Upload
    • Windows:
      rsync -avrHS --progress --delete ./go 192.168.1.100::test
    • Linux:
      The same as Windows.
  • Download
    • Windows:
      rsync -avzHS username@FROM_IP:/SOURCE_PATH /TARGET_PATH
    • Linux:
      rsync -avzHS -e "ssh -p SOURCE_PORT" username@FROM_IP:/SOURCE_PATH TARGETPATH
  • --delete,Be Care!!! It will be delete files, using it when u know what r u doing
  • Install and start SSH in Target machine。It will ask u password during procedure。
Server Side rsyncd:
  • Install and find execution file below \Program files\ICW.
  • Create rsyncd.conf and put to bin.
  • mkdir.exe /etc; cp.exe rsyncd.conf /etc
  • rsync --daemon
  • ps.exe aux (check it! is rsyncd running? ).
  • Finished.

Reference:

沒有留言: