duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Re: How to run duplicity with a Cron Job


From: Dominic Hargreaves
Subject: Re: [Duplicity-talk] Re: How to run duplicity with a Cron Job
Date: Fri, 18 Feb 2005 17:23:47 +0000
User-agent: Mutt/1.3.28i

On Fri, Feb 18, 2005 at 07:57:03AM -0800, Eric Hanchrow wrote:
> 
> # Ouch.  Can you think of a better way?  Hint: using a public key
> # isn't any better, since you still need the password to verify
> # the copied stuff.
> 0 0 * * * PASSPHRASE="Boy, it sure is painful to store my passphrase in my 
> cron file" duplicity ...

A marginal improvement would be to call duplicity from a shell script:

------->8---------------------
#!/bin/sh

. /root/duplicity-pass
export PASSPHRASE

duplicity [...]
------->8---------------------


/root/duplicity-pass would of course be mode 700, and contain a line
of the form 

PASSPHRASE="hackme"

Cheers,

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)




reply via email to

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