Rsync app data transfer between Windows and Linux

Source: Internet
Author: User
Tags rsync

The company wants to transfer the Web site files on Windows to Linux and complete the site migration, but because the files are too large, you want to choose a tool that is stable and can output large files. After a few tossing, came up with a plan. is to use rsync to transfer large files, first file with 7.zip tools into a tar.gz format, and then use rsync to transmit it, the specific method is as follows:
1. Download the Windows Client
Open URL: Https://www.itefix.net/content/get-cwrsync
The interface appears and you can download:

2. The directory after the download is like this

The 3.windows end of the Rsync client has been successfully deployed, starting with the deployment of server-side
[Email protected] rsync]# vim/etc/rsyncd.conf
port=8730
Log File=/var/log/rsync.log
PID File=/var/run/rsync.pid

[Test]
Path=/tmp/rsync
Use Chroot=no
Max Connections=4
Read Only=no
List=true
Uid=root
Gid=root
Auth Users=wenwen
Secrets file=/etc/rsyncd.passwd

4. Create a directory of push paths, and all of the client's files will be pushed to this directory
Mkdir/tmp/rsync

5. Test, go to Windows to upload files under Linux to
Enter the Cwrsync installation directory to the actual rsync command directory down:

It is important to note that if you do not add the test module name, the file will prompt for insufficient permissions, and cannot be successfully transmitted.
Also need to note is to Telnet 192.168.224.135 8730 to see if it has been passed, and then transfer files to Linux up.

Some win version of the command is RSYNC-AVPZ--port 8730/cygwin/e/docs/changelog.txt [email protected]::test
When prompted for No such file, this is the following:
The command needs to be replaced by: Rsync-avpz--port 8730/cygdrive/e/docs/changelog.txt [email protected]::test
can also be changed to: RSYNC-VZRTOPG--port=8730--progress--delete/cygdrive/e/docs/changelog.txt [email protected]::test
-VZRTOPG--progress # Show synchronization process details
/cygdrive/e/docs/changelog.txt files in the Docs directory under the e disk of Windows
:: Test Module name

6. Check the push path on the Linux server side and upload it successfully.

7. For large file transfers,
You can use the WinRAR program to compress the file into RAR, and then use WinRAR to decompose the RAR file into a number of small files
If the file has 1G, then it can be divided into 10 small files of 100M. Finally, upload this 10 small file to Linux.

Rsync app data transfer between Windows and Linux

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.