duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] interrupted backup can't resume


From: edgar . soldin
Subject: Re: [Duplicity-talk] interrupted backup can't resume
Date: Tue, 21 Aug 2012 13:54:22 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 17.08.2012 16:48, Ryan Meador wrote:
Hi all,
Last night I had some sort of network hiccup while my nightly backup was
running and it was interrupted.  Duplicity seems unable to resume,
giving me a "bad passphrase" error message.  I think this is the same
issue that is reported here:
https://bugs.launchpad.net/duplicity/+bug/946988

I can't figure a few things out, however.  I don't believe I'm signing
(I specify only --encrypt-key on the command line), and it's a public
key, so why would it need my passphrase to continue encrypting things?
It didn't need it to encrypt the files the first time around.  Secondly,
if it needs my passphrase, why isn't it prompting me for it?  I have GPG
set up to "use-agent", which for any other purpose prompts me with a
nice GUI dialog for the passphrase whenever it needs it.  I even tried
getting gpg-agent to cache my passphrase and then I ran the backup, and
still it failed.  I'd love to understand why.

Is there a workaround for this issue?  If I run "duplicity cleanup" will
it remove the partial backup and allow me to do it all over again
(without removing old completed backups)?  What might be the correct
syntax for that?

Here's the output containing the error message:
Local and Remote metadata are synchronized, no sync needed.
Last full backup left a partial set, restarting.
Last full backup date: Fri Aug 17 03:00:02 2012
RESTART: Volumes 2 to 3 failed to upload before termination.
          Restarting backup at volume 2.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: encrypted with 2048-bit RSA key, ID 3289D83A, created 2012-03-09
"Ryan Meador (Platform Engineer) <address@hidden>"
gpg: public key decryption failed: bad passphrase
gpg: decryption failed: secret key not available
===== End GnuPG log =====

Thanks,
Ryan


you can try to patch your duplicity according to
 https://bugs.launchpad.net/duplicity/+bug/946988

you can simply delete the incomplete backup set manually. look on the backend 
sort by time and delete all files named with timestamp of the failed backup.
cleanup --force should do this, but i am just 95% sure now.

the bug report above should hold an explanation why the need for passphrase was 
added.

..ede/duply.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]