[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Regression Fails: "IOError: Not a gzipped file"
From: |
Brad Guillory |
Subject: |
[rdiff-backup-users] Regression Fails: "IOError: Not a gzipped file" |
Date: |
Fri, 10 Oct 2008 00:38:02 -0600 |
Can anyone offer me suggestions about how to fix this problem? I
think that the USB drive that I was backing up to went offline during
a backup operation. I have since forced an fsck on the filesystem and
it came up clean.
# rdiff-backup --check-destination-dir --verbosity 9 /mnt/lacie/
servers/prod-no-mumms-2/data/home/cpc
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
285, in Main
Thu Oct 9 11:55:25 2008 Regressing to Fri Oct 3 20:03:47 2008
Thu Oct 9 12:18:01 2008 Regressing file var/data/http/xml/hcmid/
hcmid/patient/8093/patient.xml
Thu Oct 9 12:18:01 2008 Applying patch var/data/http/xml/hcmid/hcmid/
patient/8093/patient.xml.2008-10-03T20:03:47-05:00.diff.gz
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
257, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
869, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.4/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.4/site-packages/rdiff_backup/rorpiter.py",
line 285, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 232, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 254, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py",
line 503, in get_restore_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Rdiff.py", line
65, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.4/site-packages/rdiff_backup/librsync.py",
line 76, in read
self._add_to_outbuf_once()
File "/usr/lib/python2.4/site-packages/rdiff_backup/librsync.py",
line 85, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/usr/lib/python2.4/site-packages/rdiff_backup/librsync.py",
line 95, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.4/gzip.py", line 225, in read
self._read(readsize)
File "/usr/lib/python2.4/gzip.py", line 261, in _read
self._read_gzip_header()
File "/usr/lib/python2.4/gzip.py", line 162, in _read_gzip_header
raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file
# gzip --test /mnt/lacie/servers/prod-no-mumms-2/data/home/cpc/rdiff-
backup-data/increments/var/data/http/xml/hcmid/hcmid/patient/8093/
patient.xml.2008-10-03T20:03:47-05:00.diff.gz
gzip: /mnt/lacie/servers/prod-no-mumms-2/data/home/cpc/rdiff-backup-
data/increments/var/data/http/xml/hcmid/hcmid/patient/8093/patient.xml.
2008-10-03T20:03:47-05:00.diff.gz: not in gzip format
#rdiff-backup --version
rdiff-backup 1.0.5
TIA, BMG
- [rdiff-backup-users] Regression Fails: "IOError: Not a gzipped file",
Brad Guillory <=