Re: Duplicity & /etc/daily.local

2019-05-23 Thread Noth
On 22/05/2019 04:46, Patrick Wildt wrote: On Mon, May 20, 2019 at 11:50:13PM +0200, Noth wrote: Hi misc@,   I'm trying to run daily backups to a sftp server for various VMs and devices on my network, and want to use /etc/daily.local for this. I'm calling this script from the daily.local

Re: Duplicity & /etc/daily.local

2019-05-21 Thread Patrick Wildt
On Mon, May 20, 2019 at 11:50:13PM +0200, Noth wrote: > Hi misc@, > > >   I'm trying to run daily backups to a sftp server for various VMs and > devices on my network, and want to use /etc/daily.local for this. I'm > calling this script from the daily.local file: > > env

Re: Duplicity & /etc/daily.local

2019-05-21 Thread Craig Skinner
Hi Noth, On Mon, 20 May 2019 23:50:13 +0200 Noth wrote: > /root/duplicity-hostname.sh Does this script work properly when you're logged in as root? > > #!/bin/ksh > PASSPHRASE=mypassword try: export PASSPHRASE='mypassword' > Can daily.local even handle this or is the environment too

Re: Duplicity & /etc/daily.local

2019-05-21 Thread Antoine Jacoutot
On Mon, May 20, 2019 at 11:50:13PM +0200, Noth wrote: > Hi misc@, > > >   I'm trying to run daily backups to a sftp server for various VMs and > devices on my network, and want to use /etc/daily.local for this. I'm > calling this script from the daily.local file: > > env

Re: Duplicity & /etc/daily.local

2019-05-20 Thread trondd
On Mon, May 20, 2019 5:50 pm, Noth wrote: > Hi misc@, > > > Â I'm trying to run daily backups to a sftp server for various VMs and > devices on my network, and want to use /etc/daily.local for this. I'm > calling this script from the daily.local file: > > env 'GNUPG="/usr/local/bin/gpg"

Duplicity & /etc/daily.local

2019-05-20 Thread Noth
Hi misc@,   I'm trying to run daily backups to a sftp server for various VMs and devices on my network, and want to use /etc/daily.local for this. I'm calling this script from the daily.local file: env 'GNUPG="/usr/local/bin/gpg" PASSPHRASE="mypassword"' /root/duplicity-hostname.sh but