6

Is there a way to cancel duplicity (running over rsync 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.

1
  • I didn't notice either of the answers describing how to cancel a backup. Commented Feb 5, 2016 at 0:23

2 Answers 2

10

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.

1
4

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
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .