Duplicity CACert Fehler
Seit einiger Zeit funktionierte mein Duplicity Backup nicht mehr.
Reading filelist /root/backup/exclude-backup-dirs.conf
Sorting filelist /root/backup/exclude-backup-dirs.conf
Giving up after 1 attempts. FatalBackendError: For certificate verification a cacert database file is needed in one of these locations: ~/.duplicity/cacert. pem, ~/duplicity_cacert.pem, /etc/duplicity/cacert.pem
Hints:
Consult the man page, chapter 'SSL Certificate Verification'.
Consider using the options --ssl-cacert-file, --ssl-no-check-certificate .
Giving up after 1 attempts. FatalBackendError: For certificate verification a cacert database file is needed in one of these locations: ~/.duplicity/cacert. pem, ~/duplicity_cacert.pem, /etc/duplicity/cacert.pem
Hints:
Consult the man page, chapter 'SSL Certificate Verification'.
Consider using the options --ssl-cacert-file, --ssl-no-check-certificate .
Die Lösung ist eigentlich recht einfach und hier beschrieben
mkdir /etc/duplicity
cd /etc/duplicity/
wget https://curl.haxx.se/ca/cacert.pem
Dann klappt auch das Backup wieder.