rsync and network failure

Colin Law clanlaw at gmail.com
Wed Apr 6 13:43:45 UTC 2016


I have a script that I run to keep a remote backup of a folder
heirarchy.  The script uses rsync with a command of the form

rsync -H -azipc /path/to/backup user at my.remote.domain:destination_folder

This works fine.  My question is, if the network fails part way
through, or the PC is shut down then should I just be able repeat the
command and rsync will transfer any remaining files that were not
successfully transferred the first time?

Colin



More information about the ubuntu-users mailing list