[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] restore old backups fails with gzip error -
From: |
Hunter Matthews |
Subject: |
[rdiff-backup-users] restore old backups fails with gzip error - |
Date: |
Fri, 01 Jul 2005 13:47:43 -0400 |
All,
I need to restore this one file from rdiff-backup, and am
consistently getting the following error from every backup so far.
I've checked the logs of when the rdiff-backups were made and no
errors were reported - any idea whats going wrong?
address@hidden postgres]# rdiff-backup -r 2005-05-10 AFTOL-2.custom
/tmp/restore/AFTOL-2.custom
-----------------------------------------------------------------
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
-----------------------------------------------------------------
-----------------------------------------------------------------
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
-----------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib64/python2.2/site-packages/rdiff_backup/Main.py", line
259, in Main
take_action(rps)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/Main.py", line
239, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/Main.py", line
465, in Restore
inc_rpath, dest_rp, time)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/restore.py",
line 45, in Restore
TargetS.patch(target, diff_iter)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/restore.py",
line 307, in patch
for diff in rorpiter.FillInIter(diff_iter, target):
File "/usr/lib64/python2.2/site-packages/rdiff_backup/rorpiter.py",
line 173, in FillInIter
first_rp = rpiter.next() # StopIteration gets passed upwards
File "/usr/lib64/python2.2/site-packages/rdiff_backup/restore.py",
line 264, in get_diffs_from_collated
diff = cls.get_diff(mir_rorp, target_rorp)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/restore.py",
line 277, in get_diff
mir_rorp.setfile(cls.rf_cache.get_fp(expanded_index))
File "/usr/lib64/python2.2/site-packages/rdiff_backup/restore.py",
line 369, in get_fp
return self.get_rf(index).get_restore_fp()
File "/usr/lib64/python2.2/site-packages/rdiff_backup/restore.py",
line 495, in get_restore_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/Rdiff.py", line
65, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/rpath.py", line
58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib64/python2.2/site-packages/rdiff_backup/librsync.py",
line 76, in read
self._add_to_outbuf_once()
File "/usr/lib64/python2.2/site-packages/rdiff_backup/librsync.py",
line 85, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/usr/lib64/python2.2/site-packages/rdiff_backup/librsync.py",
line 95, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib64/python2.2/gzip.py", line 163, in read
self._read(readsize)
File "/usr/lib64/python2.2/gzip.py", line 227, in _read
self._read_eof()
File "/usr/lib64/python2.2/gzip.py", line 247, in _read_eof
raise ValueError, "Incorrect length of data produced"
ValueError: Incorrect length of data produced
[
--
Hunter Matthews Unix / Network Administrator
Office: BioScience 145/244 Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.