Cancel and resume a duplicity backup
Solution 1
According to duplicity
and rsync
man
, you should try this if you stop during the upload (don't know whether it's safe during encryption):
duplicity --rsync-options="-P" other_args
Solution 2
Duplicity 0.6+ will attempt to resume a previously aborted/failed/partial backup (source). The rsync options will not help, as duplicity encrypts each tardiff file as it it created, and deletes these not yet transferred files on failure.
The rsync options will allow it to resume a transfer if no encryption is in use.
Related videos on Youtube
student
Updated on September 18, 2022Comments
-
student almost 2 years
Is there a way to cancel
duplicity
(running overrsync
and symmetric gpg encryption) without messing up the running backup and resume it later (for example after rebooting the laptop) without problems?Suppose for example that after starting a
duplicity
backup on my laptop I notice that it will take too long time and that I have to shutdown the laptop in a few minutes.-
Admin over 8 yearsI didn't notice either of the answers describing how to cancel a backup.
-
-
Nemo about 6 yearsMore context: bugs.debian.org/cgi-bin/bugreport.cgi?bug=536361