Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.