Rsync has several packaged tools on Windows, such as deltacopy and unison. After comparison, I still think cxrsync is best used.
Advantages of cwrsync:
1) easy configuration. Crgwin library files have been packaged, And you can directly call the command for Synchronization After download and installation.
2) You can operate on the command line. It is basically the same as on Unix (deltacopy is graphical, and unison needs to be familiar with it ).
Procedure:
1) download and install cwrsync.
2) (optional, the security of dreamhost is so bad, it is better to log on with a password directly, hey) create a key, enter the command line mode, and call the ssh-keygen command to create a key. the storage location of the public key and private key is placed in the default location. Save the public key string ~ /. Ssh/authorized_keys file.
3) enter the command line mode and call the rsync command:CopyCodeCode: rsync -- exclude = "/home/Foo/tmp/"-avz foo@www.foobar.net: foobar.net/\ mysites \ www.jb51.net \
Note: -- exclude filters out irrelevant directories, such as cache information under the MT directory. Replace Foo and foobar as needed.
Finally, if you prefer to use Windows job scheduling, you can consider calling it. I never use it anyway.