[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] OverflowError when backing up remote server
From: |
Philippe Froidevaux |
Subject: |
Re: [rdiff-backup-users] OverflowError when backing up remote server |
Date: |
Thu, 05 Feb 2004 13:17:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 |
about the same error msg here :
(source Rh7.3, target Fedora Core, rdiff-backup 0.12.6 and librsync
0.9.6 on both sides)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
250, in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
222, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
264, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
47, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
220, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
589, in fast_process
inc = self.inc_with_checking(tf, rp, self.get_incrp(index))
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
575, in inc_with_checking
try: inc = increment.Increment(new, old, inc_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py",
line 44, in Increment
else: incrp = makesnapshot(mirror, incpref)
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py",
line 73, in makesnapshot
else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
182, in copy_with_attribs
copy(rpin, rpout, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
96, in copy
if rpin.isreg(): copy_reg_file(rpin, rpout, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
118, in copy_reg_file
rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
824, in write_from_fileobj
if fp.close() or outfp.close():
File "/usr/lib/python2.2/gzip.py", line 253, in close
write32(self.fileobj, self.size)
File "/usr/lib/python2.2/gzip.py", line 19, in write32
output.write(struct.pack("<l", value))
OverflowError: long int too large to convert to int
this error message is just followed by another (?) one, I don't know if
there are linked or not :
Exception zlib.error: 'Error -2 while flushing' in <bound method
GzipFile.__del__ of <gzip open file '/export/backup/diuflx03_lv02/rdiff-bac
kup-data/increments/staff/petrovsk/data/app_test.tar.2004-02-01T10:04:10+01:00.snapshot.gz',
mode 'wb' at 0x99f9230 0x978cefc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file '/export/backup/diu
flx03_lv02/rdiff-backup-data/file_statistics.2004-02-02T21:58:45+01:00.data.gz',
mode 'wb' at 0x9164190 0x9175b44>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file '/export/backup/diu
flx03_lv02/rdiff-backup-data/mirror_metadata.2004-02-02T21:58:45+01:00.snapshot.gz',
mode 'wb' at 0x9174fd0 0x9177124>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file '/export/backup/diu
flx03_lv02/rdiff-backup-data/error_log.2004-02-02T21:58:45+01:00.data.gz',
mode 'wb' at 0x9178870 0x9178294>> ignored
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
250, in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
220, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 347, in Server
self.get_response(-1)
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 309, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 225, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
the command I used is :
/usr/bin/rdiff-backup --exclude-device-files --exclude '**/core.*'
--exclude '**/*.zip' --exclude '**/log' --exclude '**/logs' --exclude '**
/lost+found' --exclude 'ignorecase:**/*.iso' --exclude
'ignorecase:**/backup' --exclude 'ignorecase:**/cache' --exclude
'ignorecase:**/.tras
h' --exclude 'ignorecase:**/tmp' --exclude 'ignorecase:**/temp'
--exclude 'ignorecase:**/download' --print-statistics --no-change-dir-inc-pe
rms address@hidden::/export/lv02 /export/backup/source_lv02
Philippe.