duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] How does script pass gpg key to duplicity?


From: Mike Lyon
Subject: Re: [Duplicity-talk] How does script pass gpg key to duplicity?
Date: Sat, 17 Mar 2012 00:32:55 -0700

Thank you.

Any ideas as to why it's failing?

Thanks,
Mike

Sent from my iPhone

On Mar 17, 2012, at 0:28, SanskritFritz <address@hidden> wrote:

> Ummm, upon rereading your post, my answers are not true, sorry, forget this.
>
> On Sat, Mar 17, 2012 at 8:26 AM, SanskritFritz <address@hidden> wrote:
>> 2012/3/16 Mike Lyon <address@hidden>:
>>> Now, when I put it into crontab (via crontab -e), it doesn't seem to work. I
>>> have specified the gpg key in the backup script via "export
>>> PASSPHRASE=<passphrase goes here>"
>>
>>> 1. When I run the script manually, why does it ask me for the gpg passphrase
>>> since it's already specified in the script?
>>
>> When you start a script, it runs in a separate shell, and the EXPORT
>> command has its effect only on that, when you return to your
>> interactive shell, the variable is empty.
>>
>>> 2. Is this why it's not working via cron because it's awaiting the entering
>>> of the gpg passphrase?
>> Yes.
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

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