Use Rsync (Cwrsync) to back up DreamHost data to _win server on Windows

Source: Internet
Author: User
Tags key string ssh rsync
The implementation of Rsync on Windows has several packaged tools, such as Deltacopy, Unison, and so on. After the comparison still think Cxrsync best use.
Advantages of Cwrsync:
1) Simple configuration. The Crgwin library file has been wrapped, and the download installation will be able to invoke the command directly to synchronize.
2 command line can be operated. Basically the same as on Unix (Deltacopy is graphical, Unison needs to be familiar).

Basic Operation steps:
1) Download, install Cwrsync.
2) (optional, dreamhost security is so bad, it is better to login directly with the password security, hey) Create key, enter command line mode, invoke Ssh-keygen command to create key. The location of the public and private key stores is placed in the default location. When completed, the public key string is stored in the ~/.ssh/authorized_keys file.
3 Enter command line mode, invoke rsync command:
Copy Code code as follows:

rsync--exclude= "/home/foo/tmp/"-avz foo@www.foobar.net:foobar.net/\ Mysites\www.jb51.net\

Description:--exclude filter out some irrelevant directories, such as the MT directory of Cache information, Foo and foobar please make appropriate replacement according to their situation.

Finally, consider calling if you prefer to schedule Windows tasks. I never use it anyway.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.