Rsync: Remote synchronization, you can synchronize data locally, will not overwrite the previous data, but the first to determine the existing data and the difference between the new data, only the data will not be the same part of the overlay.
# yum Install Rsync.x86_64-y
Local synchronization
[Email protected] ~]# rsync-av/etc/passwd/tmp/passwordsending incremental file listpasswdsent 959 bytes received B Ytes 1980.00 bytes/sectotal size is 885 speedup is 0.89
Remote sync (sync to another machine, another machine needs to install RSNYC)
[Email protected] ~]# rsync-av/etc/passwd 192.168.221.20:/tmp/password[email protected] ' s password:sending Incremental file listpasswdsent 959 bytes received bytes 220.00 bytes/sectotal size is 885 speedup is 0.89
Rsync's command format
rsync [option] ... src destrsync [option] ... src [[email protected]]host:destrsync [option] ... [Email protected]]host:src destrsync [option] ... [Email protected]]host::src destrsync [option] ... src [[email protected]]host::d EST
Data Backup tool under Linux rsync