Linux rsync Practical Application
I. Overview of Rsync
Rsync is a data-mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Rsync is a file synchronization and data Transfer tool under the Linux system that uses the "rsync" algorithm to synchronize files between a client and a remote file server, or to back up data from one partition to another on the local system. If Rsync has a data transfer interruption during the backup process, it can continue to transmit the inconsistent portions after recovery. Rsync can perform full or incremental backups. Its main features are:
1. Can be mirrored to save the entire directory tree and file system;
2. It is easy to maintain the original file permissions, time, soft and hard links, without special permission to install;
3. Can synchronize data incrementally, file transfer efficiency is high, so synchronization time is short;
4. You can use RCP, ssh and other means to transfer files, of course, you can also through a direct socket connection;
5. Support anonymous transmission, in order to facilitate the site mirror image, etc.;
6. Encrypt transmission data, ensure the security of data;
Linux rsync Practical Application