[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Exception 'CRC check failed'
From: |
Guenevere Prawiroatmodjo |
Subject: |
[rdiff-backup-users] Exception 'CRC check failed' |
Date: |
Fri, 26 Jan 2007 10:51:51 +0100 (CET) |
Hello,
My last backup failed because of a hardware error, which probably caused
some corrupt files in the process. When I use --check-desination-dir on
the backup folder the following error msg appears:
%rdiff-backup --check-destination-dir vvtp.backup
Exception 'CRC check failed' raised of class 'exceptions.IOError':
File "/usr/lib/python2.3/site-packages/rdiff_backup/robust.py", line 32,
in check_common_error
try: return function(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line
459, in get_fp
current_fp = self.get_first_fp()
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line
496, 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"
Exception 'CRC check failed' raised of class 'exceptions.IOError':
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295,
in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315,
in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 273,
in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 781,
in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
71, 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
281, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
267, 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
295, 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
485, in get_restore_fp
return robust.check_common_error(error_handler, get_fp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/robust.py", line 32,
in check_common_error
try: return function(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line
459, in get_fp
current_fp = self.get_first_fp()
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line
496, 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"
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295,
in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315,
in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 273,
in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 781,
in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
71, 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
281, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
267, 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
295, 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
485, in get_restore_fp
return robust.check_common_error(error_handler, get_fp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/robust.py", line 32,
in check_common_error
try: return function(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line
459, in get_fp
current_fp = self.get_first_fp()
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line
496, 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
I'm using rdiff-backup version 1.1.5 on a Linux 2.6.16.30 debian
distribution.
How do I solve this error? If the broken hardware is replaced, should I
make a new backup or just fix the corrupt files? Could there be any other
corrupt hardware causing this problem (like RAM)?
If you have any suggestions, please let me know.
Thanks,
Guenevere
- [rdiff-backup-users] Exception 'CRC check failed',
Guenevere Prawiroatmodjo <=