Cancel and resume a duplicity backup

5,438

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.

Share:
5,438

Related videos on Youtube

student
Author by

student

Updated on September 18, 2022

Comments

  • student
    student almost 2 years

    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.

    • Admin
      Admin over 8 years
      I didn't notice either of the answers describing how to cancel a backup.
  • Nemo
    Nemo about 6 years