← Back to team overview

duplicity-team team mailing list archive

Re: [Question #183711]: Unable to resume backup due to gnupg issue.

 

Question #183711 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/183711

edso proposed the following answer:
On 16.05.2012 02:01, Scott wrote:
> Question #183711 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/183711
> 
> Scott posted a new comment:
> Well, I've done some more testing and I think I need to retract a couple
> of my earlier issues.
> 

good to hear

> 3. My root gpg-agent has been running for 4 days now with the passphrases still cached and being used by my nightly backup script. I have these values in my  /root/.gnupg/gpg-agent.conf:
> max-cache-ttl 60480000
> default-cache-ttl 60480000

could you doublecheck that it indeed hasn't lost the passphrase for the encryption key. during normal operation duplicity actually never needs it except when
- archive dir is out of sync
- backup is to be resumed

so it is absolutely feasible that everything works ok until one of the above happens
 
> 4. I believe you said in a previous post of mine that 0.6.18 didn't seem
> to be respecting the --num-retries parameter

only the ssh paramiko backend in case you happen to use it. this will be
fixed in 0.6.19

> 5. I use keychain to start my gpg-agent, so I use this line in my script to source the keys for cron:
> eval `keychain --eval web_rsa 42A79D21 E6C991E3` || exit 1

never knew it existed. it makes sure that one instance of the agents is
running per user and put this into your environment when run in
.profile, right?

> I apologize if I've caused a little extra noise here over the past
> several days!! I was getting pretty frustrated until I hit on the right
> combo of bugfixes and script parameters to get everything working right.

no worries, you actually shed some pretty important light on the issue

> Let me know if I can provide any additional information.

last but not least, thanks for the exhaustive analysis shared with us
today.

i am ede, i am using duplicity ;) ... ede/duply.net

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.