Cwrsync file synchronization

Source: Internet
Author: User

Environment

Service side: 192.168.88.31 windows2008r2
Client: 192.168.88.32 windows2008r2
Synchronize the contents of the Service folder C:/rsync to the client C:/rsync

First, the service-side configuration

① installing Cwrsyncserver_4.1.0_installer.exe on the service side
This step will generate Svccwrsync an account under the current system to start the Rsyncserver service
② Modifying a configuration file C:\Program files (x86) \icw\rsyncd.conf

③ Administration Tools--Start rsyncserver #启动服务后, port number is set above 52326

Second, the client configuration

① installing software on the client Cwrsync_4.1.0_installer.exe
② creating a batch file named Dnt_rsync.bat

@echo off set Rsync_home=c:\program Files (x86) \cwrsync\bincd%rsync_home%rsync-avzp--progress--delete rsync:// 192.168.88.31:52326/sellsa/cygdrive/c/rsync-avzp-a: parameter, equivalent to-rlptgod,-r is the recursive-L is a linked file, meaning to copy the linked file;-p means to keep the original permissions of the file;-T Keep the file original time;-G keep the original user group of the file;-O to keep the original owner of the file;-D is equivalent to block device files;-Z: Transfer-time compression;-P: transfer progress;-v verbose: Verbose mode output-u: is only synchronizing files that have been updated, so that files that are not updated are repeated Note the synchronization of the two machine clocks--progress: Show backup process--delete: Delete files that are not src in DST (this option will be deleted synchronously)

③ and then double-click to start it

④ Create scheduled tasks through scheduled tasks in Windows, perform timed synchronizations

Cwrsync file synchronization

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.