It’s 4 day I received this error in backup, but I don’t understand what the problem is.
Anyone as an idea?
Thank you very much for the help.
Backup: backup-data
Backup started at 2020-11-05 21:00:01
Pre backup scripts status: SUCCESS
Traceback (innermost last):
File “/usr/bin/duplicity”, line 1581, in
with_tempdir(main)
File “/usr/bin/duplicity”, line 1567, in with_tempdir
fn()
File “/usr/bin/duplicity”, line 1419, in main
do_backup(action)
File “/usr/bin/duplicity”, line 1441, in do_backup
action).set_values()
File “/usr/lib64/python2.7/site-packages/duplicity/collections.py”, line 722, in set_values
backup_chains)
File “/usr/lib64/python2.7/site-packages/duplicity/collections.py”, line 735, in set_matched_chain_pair
sig_chains = sig_chains and self.get_sorted_chains(sig_chains)
File “/usr/lib64/python2.7/site-packages/duplicity/collections.py”, line 955, in get_sorted_chains
assert len(chain_list) == 2
AssertionError
There was an old bug with same error, but fixed in v0.6.15 (2011/08/19). Although (at least on Ubuntu) there were users dealing with the same error even when using newer duplicity versions:
As a workaround when this bug happens, deleting the (remote) files mentioned in the log as “Ignored” seems to work
Thx for the reply, yesterday I changed the media backup and the error is gone.
Unfortunately the backup has failed again, but the problem now is different.
Backup: backup-data
Backup started at 2020-11-06 21:00:01
Pre backup scripts status: SUCCESS
mkdir /mnt/backup-backup-data: File exists at /etc/e-smith/events/actions/mount-cifs line 68.
Can’t mount /mnt/backup-backup-data
Action ‘backup-data-duplicity backup-data’: FAIL
Backup status: FAIL
It seems that /mnt/backup-backup-data had lost permissions: