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" PASSPHRASE="mypassword"' > /root/duplicity-hostname.sh > > but unfortunately duplicity can't find gnupg >
I don't use duplicity anymore but is the GNUPG environment variable even a thing? Their manpage doesn't mention it but does specifiy a --ggp-binary commandline argument. http://duplicity.nongnu.org/duplicity.1.html You'll also need to be sure gpg is looking in the right place for the keyrings.