...
Code Block | ||
---|---|---|
| ||
# Rsync over the Internet rsync -a-archive -v-verbose -z-compress --delete --progress -e "ssh -c arcfour -o Compression=no -x" /source/folder remotebackup@earth.com:/home/user:destination-folder # Rsync over LAN rsync# -aSame -vbut -edisable "ssh -c arcfour -o Compression=no -x" /source/folder remotebackup@earth.com:/home/user:destination-folderall compression. |
--archive or -a = Archive mode. Performs recursion and preserves almost all attributes of the source files (with -H being a notable omission). Note that it does not preserve hard links, because finding multiply-linked files is expensive. You must separately specify -H.
...
--progress = Shows progress of transfer. Make sure not to use when using cron.
Command Reference
Remote file copy - Synchronize file trees across local disks, directories or across a network.
...