Use and configuration of rsync tools under Linux

Source: Internet
Author: User

This article basically introduces all: http://www.2cto.com/os/201308/238733.html

Some simple memo:

1. Apt-get can be installed under Ubuntu;

2. configuration file/etc/rsync.conf Default does not exist, need to create manually;

3. You can start rsync through the daemon xinetd and configure it in/etc/default/rsync;

4. The server configures the login name and password in/etc/rsync.passwd, not necessarily this file, you can configure each shared module password file in/etc/rsync.conf;

5. The client can also configure the password in the/ETC/RSYNC.PASSWD, do not have to have this file , synchronization with the parameter--password-file= specify the password file;

6. Common Synchronous Instruction format:

Rsync-arv [email protected]:: Shared module Name

This way will prompt the password from the terminal, the parameter r is a recursive directory, V is the output prompt information, A is the archive mode;

rsync-arv --password-file=/etc/rsync.passwd [email protected]:: Shared module Name

This method does not manually enter the password from the terminal.


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.