...
rsync ....
Code Block | ||
---|---|---|
| ||
# Rsync over the Internet rsync -a -v -z -e "ssh -c arcfour -o Compression=no -x" -z" user@3aims/source/folder remotebackup@earth.com:/home/user:destination-folder # Rsync over LAN rsync -a -v -e "ssh -c arcfour -o Compression=no -x" /source/folder remotebackup@earth.com:/home/user web10 :destination-folder |
-a = Archive mode (add more notes about why to use this).
...
-x = turns off ssh's X tunneling feature (if you have it on by default).
--dry-run = Very important to use first time or to test --delete. Performs trial run without making changes. Use in combination with -v and --itemize-changes. -vv will provide even more details.
-d or --delete = Delete on target to match source.
Command Reference
Remote file copy - Synchronize file trees across local disks, directories or across a network.
...