Backup-data fail

NethServer Version: 7.6.1810
Module: Backup

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

Duplicity backup failed
Action ‘backup-data-duplicity backup-data’: FAIL
Backup status: FAIL

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

1 Like

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:

[root@mail mnt]# ls
ls: cannot access backup-backup-data: Permission denied
backup-backup-data
[root@mail mnt]# ls -al
ls: cannot access backup-backup-data: Permission denied
total 0
drwxr-xr-x. 3 root root 32 Apr 23 2019 .
dr-xr-xr-x. 17 root root 261 Aug 5 2019 …
d??? ? ? ? ? ? backup-backup-data
[root@mail mnt]#

Do you think it’s better delete backup-backup-data or try to re-set the permissions?
Thnx

After a reboot, the /mnt/backup-backup-data directory has regain its permissions.
I will wait for tonight backup…

Everything is fine! Thanks for the help!

1 Like