Linux Next rsync tool and configuration

Source: Internet
Author: User
Tags rsync

This article describes the whole basic: http://www.2cto.com/os/201308/238733.html

A few simple memos:

1. Ubuntu can be installed under Apt-get;

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

3. Ability to activate rsync via daemon xinetd, configure in/etc/default/rsync;

4. Server configuration login and password in/etc/rsync.passwd, not necessarily this file, be able to configure each shared module password file in/etc/rsync.conf;

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

6. Use the synchronous instruction format frequently:

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

This way will prompt from the terminal to lose password, the parameter r is the recursive folder, V is the output prompt information, A is the archive mode.

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

This way you do not have to manually enter password from the terminal.


Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Linux Next rsync tool and configuration

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.