Welcome! » Log In » Create A New Profile

Bailout on broken rdiff-backup-data/ dir

Posted by Anonymous 
Bailout on broken rdiff-backup-data/ dir
March 10, 2004 06:34PM
I am using:

$ rdiff-backup --version
rdiff-backup 0.13.3

I am not 100% sure how the rdiff-backup-data directory got broken, but
what happened was this. I was running rdiff-backup on an unregular
basis, normally a few times a week. Then one day my hd or the IDE bus
got crazy:

----
...
blk: queue f084ef3c, I/O limit 4095Mb (mask 0xffffffff)
hdg: dma_timer_expiry: dma status == 0x20
hdg: timeout waiting for DMA
...
----

The hd's itself worked fine again after a reboot, but reiserfs got
broken and required a --rebuild-tree. Ok, so I did that and everything
was back to normal. The filesystem containing the rdiff-backup data
should not have been mounted while this has happened, but I am not
100% sure on that, but anyway, it got broken too and now I am being
unable to backup, the rdiff-backup output looks like below. Is there
any way I can let rdiff-backup fixup the broken tree or do I have to
completly 'rm' it and start from scratch (not such a good idea, since
I might need some of the data in there, due to the --rebuild-tree
which broke some files):

$ rdiff-backup -v7 --exclude-globbing-filelist=/home/ingo/.backup-excludes /home/ /mnt/backup/home/
########## /home /tmp
Unable to import module xattr. EAs not supported on filesystem at /home
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /home
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Making directory /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/foo
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/foo
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Hard linking /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file2 to /mnt/backup/home /rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Unable to import module xattr. EAs not supported on filesystem at /mnt/backup/home/rdiff-backup-data/r diff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/A
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/A
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/:
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/:
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/
Touching /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/x{FFFF}
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0/x{FFFF}
Deleting /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0
Removing directory /mnt/backup/home/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
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 Off
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.
Regressing to Fri Jan 23 00:18:06 2004
Regressing attributes of /mnt/backup/home/ingo/.windstille
Copying attributes from ('ingo', '.windstille') to /mnt/backup/home/ingo/.windstille
Setting time of /mnt/backup/home/ingo/.windstille to 1067978112
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/commandline.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/defobj.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/dialog.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/door.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/engine.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/festival.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/for.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/helper.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/inventory.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/keymap.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/object.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/person.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/scenario.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/sequence.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/simple.scm,
but there are no associated files.
Warning, metadata file has entry for ingo/cvs/ClanLib/Games/Advent/advent/src/guile/state.scm,
but there are no associated files.
Regressing file ingo/cvs/winex/wine/programs/winedbg/lex.yy.c
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 247, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 218, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in Backup
backup_final_init(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 353, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 759, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 69, 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 279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 224, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 252, in restore_orig_regfile
rf.mirror_rp.write_from_fileobj(rf.get_restore_fp())
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 462, in get_restore_fp
current_fp = self.get_first_fp()
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 482, in get_first_fp
rpath.copyfileobj(fp, current_fp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.3/gzip.py", line 224, in read
self._read(readsize)
File "/usr/lib/python2.3/gzip.py", line 289, in _read
self._read_eof()
File "/usr/lib/python2.3/gzip.py", line 308, in _read_eof
raise IOError, "CRC check failed"
IOError: CRC check failed
[

--
WWW: http://pingus.seul.org/~grumbel/
JabberID: grumbel < at > jabber.org
ICQ: 59461927
Sorry, only registered users may post in this forum.

Click here to login