Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
I didn't notice either of the answers describing how to cancel a backup. – nobar Feb 5 at 0:23
up vote 2 down vote accepted

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
share|improve this answer

Duplicity will attempt to resume a previously aborted/failed/partial backup. 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|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.