rsync and network failure

Colin Law clanlaw at gmail.com
Thu Apr 7 07:30:42 UTC 2016


On 6 April 2016 at 22:31, Karl Auer <kauer at biplane.com.au> wrote:
> On Wed, 2016-04-06 at 14:57 +0100, Dave Howorth wrote:
>> On 2016-04-06 14:43, Colin Law wrote:
>> > 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?
>
> Yes. And if you are transferring very large files, you might like to
> read the man page on the "-P", "--partial" and "--partial-dir" options,
> which allows recovery midway through partially transferred files.
>
> I suggest you look for every occurrence of the word "partial" in the
> man page, because there are quite a lot of hints and gotchas around
> saving partial transfers, but if you transfer really big files this can
> be a life-saver.

Thanks Karl, in fact that is not an issue as I don't have any very
large files, I don't mind if it has to start individual files again.

Cheers

Colin




More information about the ubuntu-users mailing list