I have copied the entire directory /data/groups/ciekivitasku to /data/var/rdiffpb/ciekivitasku and have ran the following command 3 times :
rdiff-backup -v9 /data/var/rdiffpb /backup/RDIFF-BACKUP/rdiffpb
-> NO error !?
Le dimanche 21 mai 2006 à 15:46 +0200, roland a écrit :
hello !
could you try creating (copyin and/or moving) /data/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg to a different path (same or greater number of subdirs) and try backing up that single directory-tree including that single file?
maybe we get a repro-case with this.
(the file has 3 whitespaces, that shouldn`t be a problem - but _maybe_ it is related to this)
regards
roland
----- Original Message -----
From: clavius
To: roland
Cc: address@hidden
Sent: Sunday, May 21, 2006 2:37 PM
Subject: Re: [rdiff-backup-users] rdiff-backup fails with acl
In fact the problem occurs again starting from the second (first non-empty increments) backup.
Note : - Debian pachages for ACL & RDIFF-BACKUP had been reinstalled first
Details :
1 - After the complete backup destination directory has been deleted,
the 1st command 'rdiff-backup /data /backup/RDIFF-BACKUP/data' produces NO error.
2 - Problems come here, with a particular output for the second backup (option -v9 added) :
Sun May 21 14:29:09 2006 Unable to import module xattr. EAs not supported on filesystem at /data
Sun May 21 14:29:09 2006 -----------------------------------------------------------------
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
-----------------------------------------------------------------
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/foo
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/foo
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hl
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Sun May 21 14:29:09 2006 Hard linking /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hl/hardlinked_file2 to /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Sun May 21 14:29:09 2006 Unable to import module xattr. EAs not supported on filesystem at /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/A
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/A
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/:
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/:
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/\
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/\
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/¯
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/¯
Sun May 21 14:29:09 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:09 2006 Removing directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:09 2006 -----------------------------------------------------------------
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
-----------------------------------------------------------------
Sun May 21 14:29:09 2006 Touching mirror marker /backup/RDIFF-BACKUP/data/rdiff-backup-data/current_mirror.2006-05-21T14:29:09+02:00.data
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/current_mirror.2006-05-21T14:29:09+02:00.data
Sun May 21 14:29:09 2006 Starting increment operation /data to /backup/RDIFF-BACKUP/data
Sun May 21 14:29:09 2006 Getting signature of groups/ciekivitasku/www/htdocs/index.html with blocksize 512
Sun May 21 14:29:09 2006 Getting delta of /data/groups/ciekivitasku/www/htdocs/index.html with signature groups/ciekivitasku/www/htdocs/index.html
Sun May 21 14:29:09 2006 Processing changed file .
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Copying inc attrs from () to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments.2006-05-21T13:59:22+02:00.dir to 1143287549
Sun May 21 14:29:09 2006 Processing changed file groups
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups',) to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups.2006-05-21T13:59:22+02:00.dir to 1139082219
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku.2006-05-21T13:59:22+02:00.dir to 1145308493
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku/www
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku', 'www') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www.2006-05-21T13:59:22+02:00.dir to 1145308533
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku/www/htdocs
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku', 'www', 'htdocs') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs.2006-05-21T13:59:22+02:00.dir to 1145308524
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku/www/htdocs/index.html
Sun May 21 14:29:09 2006 Writing file object to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.1
Sun May 21 14:29:09 2006 Copying attributes from ('groups', 'ciekivitasku', 'www', 'htdocs', 'index.html') to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.1
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.1 to 1145398227
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/index.html
Sun May 21 14:29:09 2006 Writing delta /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.1 from /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/index.html -> /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:09 2006 Getting signature of groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.1 with blocksize 512
Sun May 21 14:29:09 2006 Writing file object to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku', 'www', 'htdocs', 'index.html') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html.2006-05-21T13:59:22+02:00.diff.gz to 1145398227
Sun May 21 14:29:09 2006 Renaming /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.1 to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/index.html
Sun May 21 14:29:09 2006 Getting signature of groups/ciekivitasku/www/htdocs/index.html~ with blocksize 512
Sun May 21 14:29:09 2006 Getting delta of /data/groups/ciekivitasku/www/htdocs/index.html~ with signature groups/ciekivitasku/www/htdocs/index.html~
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku/www/htdocs/index.html~
Sun May 21 14:29:09 2006 Writing file object to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.2
Sun May 21 14:29:09 2006 Copying attributes from ('groups', 'ciekivitasku', 'www', 'htdocs', 'index.html~') to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.2
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.2 to 1145285717
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/index.html~
Sun May 21 14:29:09 2006 Writing delta /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.2 from /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/index.html~ -> /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html~.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:09 2006 Getting signature of groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.2 with blocksize 512
Sun May 21 14:29:09 2006 Writing file object to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html~.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku', 'www', 'htdocs', 'index.html~') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html~.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html~.2006-05-21T13:59:22+02:00.diff.gz to 1145285717
Sun May 21 14:29:09 2006 Renaming /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/rdiff-backup.tmp.2 to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/index.html~
Sun May 21 14:29:09 2006 Getting signature of groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg with blocksize 512
Sun May 21 14:29:09 2006 Getting delta of /data/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg with signature groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku/www/htdocs/pics
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics
Sun May 21 14:29:09 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics
Sun May 21 14:29:09 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku', 'www', 'htdocs', 'pics') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics.2006-05-21T13:59:22+02:00.dir
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics.2006-05-21T13:59:22+02:00.dir to 1145288404
Sun May 21 14:29:09 2006 Processing changed file groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg
Sun May 21 14:29:09 2006 Writing file object to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/rdiff-backup.tmp.3
Sun May 21 14:29:09 2006 Copying attributes from ('groups', 'ciekivitasku', 'www', 'htdocs', 'pics', 'kivitasku bandeau petit format.jpg') to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/rdiff-backup.tmp.3
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/rdiff-backup.tmp.3 to 1135892172
Sun May 21 14:29:09 2006 Incrementing mirror file /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg
Sun May 21 14:29:09 2006 Writing delta /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/rdiff-backup.tmp.3 from /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg -> /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg.2006-05-21T13:59:22+02:00.diff
Sun May 21 14:29:09 2006 Getting signature of groups/ciekivitasku/www/htdocs/pics/rdiff-backup.tmp.3 with blocksize 512
Sun May 21 14:29:09 2006 Writing file object to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg.2006-05-21T13:59:22+02:00.diff
Sun May 21 14:29:09 2006 Copying inc attrs from ('groups', 'ciekivitasku', 'www', 'htdocs', 'pics', 'kivitasku bandeau petit format.jpg') to /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg.2006-05-21T13:59:22+02:00.diff
Sun May 21 14:29:09 2006 Setting time of /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg.2006-05-21T13:59:22+02:00.diff to 1135892172
Sun May 21 14:29:09 2006 Renaming /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/rdiff-backup.tmp.3 to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg
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-21T14:29:09+02:00.snapshot.gz', mode 'wb' at 0x40224b60 0x404b932c>> 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-21T14:29:09+02:00.data.gz', mode 'wb' at 0x402242e0 0x404b944c>> 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-21T14:29:09+02:00.data.gz', mode 'wb' at 0x40207ee0 0x404f4f0c>> 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-21T14:29:09+02:00.snapshot.gz', mode 'wb' at 0x402243e0 0x404b94cc>> ignored
3 - All next backups will produce the same output :
Sun May 21 14:29:25 2006 Previous backup seems to have failed, regressing destination now.
Sun May 21 14:29:25 2006 Unable to import module xattr. EAs not supported on filesystem at /data
Sun May 21 14:29:25 2006 -----------------------------------------------------------------
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
-----------------------------------------------------------------
Sun May 21 14:29:25 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/foo
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/foo
Sun May 21 14:29:25 2006 Making directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hl
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Sun May 21 14:29:25 2006 Hard linking /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hl/hardlinked_file2 to /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Sun May 21 14:29:25 2006 Unable to import module xattr. EAs not supported on filesystem at /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/A
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/A
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/:
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/:
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/\
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/\
Sun May 21 14:29:25 2006 Touching /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/¯
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0/¯
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:25 2006 Removing directory /backup/RDIFF-BACKUP/data/rdiff-backup-data/rdiff-backup.tmp.0
Sun May 21 14:29:25 2006 -----------------------------------------------------------------
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
-----------------------------------------------------------------
Sun May 21 14:29:25 2006 Regressing to Sun May 21 13:59:22 2006
Sun May 21 14:29:25 2006 Removing rdiff-backup-data increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/error_log.2006-05-21T14:29:09+02:00.data.gz
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/error_log.2006-05-21T14:29:09+02:00.data.gz
Sun May 21 14:29:25 2006 Removing rdiff-backup-data increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/file_statistics.2006-05-21T14:29:09+02:00.data.gz
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/file_statistics.2006-05-21T14:29:09+02:00.data.gz
Sun May 21 14:29:25 2006 Removing rdiff-backup-data increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/mirror_metadata.2006-05-21T14:29:09+02:00.snapshot.gz
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/mirror_metadata.2006-05-21T14:29:09+02:00.snapshot.gz
Sun May 21 14:29:25 2006 Removing rdiff-backup-data increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/access_control_lists.2006-05-21T14:29:09+02:00.snapshot.gz
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/access_control_lists.2006-05-21T14:29:09+02:00.snapshot.gz
Sun May 21 14:29:25 2006 Deleting increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:25 2006 Deleting increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html~.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/index.html~.2006-05-21T13:59:22+02:00.diff.gz
Sun May 21 14:29:25 2006 Deleting increment /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg.2006-05-21T13:59:22+02:00.diff
Sun May 21 14:29:25 2006 Deleting /backup/RDIFF-BACKUP/data/rdiff-backup-data/increments/groups/ciekivitasku/www/htdocs/pics/kivitasku bandeau petit format.jpg.2006-05-21T13:59:22+02:00.diff
Sun May 21 14:29:25 2006 Regressing attributes of /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics
Sun May 21 14:29:25 2006 Copying attributes from ('groups', 'ciekivitasku', 'www', 'htdocs', 'pics') to /backup/RDIFF-BACKUP/data/groups/ciekivitasku/www/htdocs/pics
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'
Le samedi 20 mai 2006 à 14:54 +0200, roland a écrit :
also add a "-v9" to your rdiff-backup command - this will probably show what rdiff-backup is doing before failing
----- 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
|