RSync or Remote Sync is the Linux command usually used for backup of files/directories and synchronizing them locally or remotely in an efficient way. One of the reasons of why RSync is preferred over all other alternatives is the speed of operation, RSync copies the chunk of data to other location at a significantly faster rate. This is because, whenever Rsync is executed for the very first occasion, it transfers all the data from source to the destination. On the next turn, it would just copy the files/directories whose contents are changed.
Syntax:
rsync [OPTIONS] SOURCE DESTINATION
Important Options:
-v : indicates Verbose mode which provides detailed information.
-r : indicates Recursive operation, timestamps and file permissions are not preserved
-a : indicates Archive mode,timestamps and file permissions are preserved
-z : indicates Compression, it compresses the data before it is transferred to destination.
-h : indicates Human Readable output format.
Read More at YourOwnLinux.