I have searched in backup report history and found this :
report of 2006-03-08
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 230, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 279, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 225, in patch_and_increment
for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 181, in FillInIter
for rp in rpiter:
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 103, in get_diffs
for dest_sig in dest_sigiter:
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 165, in get_sigs
for src_rorp, dest_rorp in cls.CCPP:
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 299, in next
source_rorp, dest_rorp = self.iter.next()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 497, in helper
for rorp, acl in collated:
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib/python2.3/site-packages/rdiff_backup/metadata.py", line 256, in iterate
try: yield self.record_to_object(self.buf[:next_pos])
File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 475, in Record2ACL
return AccessControlLists(index, record[newline_pos:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 192, in __init__
if acl_text: self.set_from_text(acl_text)
File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 207, in set_from_text
else: self.entry_list.append(self.text_to_entrytuple(line))
File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 247, in text_to_entrytuple
else: namepair = (uid, None)
NameError: global name 'uid' is not defined
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/RDIFF-BACKUP/data/rdiff-backup-data/access_control_lists.2006-05-08T05:00:07+02:00.snapshot.gz', mode 'wb' at 0x402740a0 0x4055334c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/RDIFF-BACKUP/data/rdiff-backup-data/file_statistics.2006-05-08T05:00:07+02:00.data.gz', mode 'wb' at 0x40208f20 0x4055306c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/RDIFF-BACKUP/data/rdiff-backup-data/error_log.2006-05-08T05:00:07+02:00.data.gz', mode 'wb' at 0x40208ea0 0x40544c6c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/RDIFF-BACKUP/data/rdiff-backup-data/mirror_metadata.2006-05-08T05:00:07+02:00.snapshot.gz', mode 'wb' at 0x40208f60 0x4055316c>> ignored
|
and next report for 2006-03-09 (and all next reports)
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 230, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 274, in Backup
backup_final_init(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 365, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 852, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 275, in __call__
if self.finish_branches(index) is None:
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 227, in finish_branches
to_be_finished.end_process()
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 282, in end_process
rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 165, in copy_attribs
if Globals.acls_write: rpout.write_acl(rpin.get_acl())
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 601, in get_acl
return self.data['acl']
KeyError: 'acl'
|
|
|
I have probably forced an inconcistency will playing with ACL mount option or something like that.
Finally, I have just made an entire copy of the backup volume before completely resetting it.
rdiff-backup is now ok
Thank you
Le samedi 20 mai 2006 à 12:08 +0200, roland a écrit :
Hello!
>Previous backup seems to have failed, regressing destination now.
>Traceback (most recent call last):
do you know the reason what was causing the initial failure?
> File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 601, in get_acl
> return self.data['acl']
>KeyError: 'acl'
maybe running "--check-destination-dir" separately is worth a try ?
(not giving much hope that this will make a difference since this is done anyway on every backup)
anyway, this could probably have to do with (meta)data corruption, i would take al look at the following thread:
http://lists.gnu.org/archive/html/rdiff-backup-users/2006-05/msg00027.html
it describes how to find "problematic" files.
regards
roland
----- Original Message -----
From: clavius
To: address@hidden
Sent: Saturday, May 20, 2006 10:37 AM
Subject: [rdiff-backup-users] rdiff-backup fails with acl
I have used rdiff-backup on debian 3.1 with ACL successfully, since a few months but, I didnt find any user trying to solve the problem I have since a few days now.
This failure completely freezes a daily backup process on an important server :
rdiff-backup fails on a partition mounted according to the associated fstab entry :
#LVM
/dev/vg_data/lv_data /data ext2 defaults,noatime,acl 0 0
the rdiff-backup destination dir is in a partition described as :
#LVM
/dev/vg_backup/lv_backup /backup ext2 defaults,noatime,acl 0 0
I use the command : rdiff-backup /data /backup/RDIFF-BACKUP/data
and get this :
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists On
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Characters needing quoting ''
Ownership changing On
Hard linking On
fsync() directories On
Directory inc permissions On
Access control lists On
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 230, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 274, in Backup
backup_final_init(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 365, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 852, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 275, in __call__
if self.finish_branches(index) is None:
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 227, in finish_branches
to_be_finished.end_process()
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 282, in end_process
rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 165, in copy_attribs
if Globals.acls_write: rpout.write_acl(rpin.get_acl())
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 601, in get_acl
return self.data['acl']
KeyError: 'acl'
Thank you for your help.
_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
|