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: SanskritFritz
Subject: Re: [Duplicity-talk] How does script pass gpg key to duplicity?
Date: Sat, 17 Mar 2012 08:27:39 +0100

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.



reply via email to

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