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