I need to copy one very large file (3TB) on the same machine from one external drive to another. This might take (because of low bandwidth) many days.
So I want to be prepared when I have to interrupt the copying and resume it after, say, a restart. From what I've read I can use
rsync --append
for this (with rsync version>3). Two questions about the --append
flag here:
Do I use
rsync --append
for all invocations? (For the first invocation when no interrupted copy on the destination drive yet exists and for the subsequent invocations when there is an interrupted copy at the destination.)Does
rsync --append
resume for the subsequent invocations the copying process without reading all the already copied data? (In other words: Does rsync mimic add
-style seek-and-read operation?)
--append
if you use it with-c
/--checksum
. EDIT: Indeed it turns it off instead of checksumming to the minimum between the 2 sizes. That's a shame. – JoL Sep 07 '22 at 22:20--append
to behave like--append-verify
when used with-c
. I hadn't noticed there was that separate option. EDIT: Yes. – JoL Sep 07 '22 at 22:27