Hi,
Whilst I am vaguely clued up, I'm not a python person, so I find it
pretty tricky debugging errors from a python script. I'm attempting to
backup an entire machine using rdiff-backup (excluding /dev, /proc, /sys,
etc). I'm using Debian's rdiff-backup package v0.13.4-5 and Debian's
python package v2.3.5-2
Would anoyone be able to shed some light on this please, or at least
point me in the direction of fixing/avoiding it?
I get a few copies of the UpdateError, but I guess that's normal(?)
------------------------
UpdateError var/log/ntpstats/peerstats Updated mirror temp file /backup/sylvester/backup/var/log/ntpstats/rdiff-backup.tmp.131601 does not match source
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 260, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 230, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 282, in Backup
backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 216, in patch
ITR(diff.index, diff)
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/backup.py", line 474, in fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 488, in patch_to_temp
Hardlink.link_rp(diff_rorp, new, self.basis_root_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Hardlink.py", line 116, in link_rp
dest_rpath.hardlink(dest_link_rpath.path)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 799, in hardlink
self.conn.os.link(linkpath, self.path)
OSError: [Errno 2] No such file or directory
Exception exceptions.TypeError: "'NoneType' object is not callable" in /usr/lib/python2.3/gzip.py:129: FutureWarning: hex()/oct() of negative int will return a signed string in Python 2.4 and up
return '<gzip ' + s[1:-1] + ' ' + hex(id(self)) + '>'
<bound method GzipFile.__del__ of <gzip open file '/backup/sylvester/backup/rdiff-backup-data/file_statistics.2005-10-17T18:06:24+01:00.data.gz', mode 'wb' at 0xb7b8af60 0xb7ae198c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/sylvester/backup/rdiff-backup-data/error_log.2005-10-17T18:06:24+01:00.data.gz', mode 'wb' at 0xb7d9f860 0xb7adf60c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored
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 259, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 227, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 352, in Server
root < at > tweety:/backup/sylvester
# self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 314, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 230, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem probably originated remotely)
------------------------
Any pointers on where to look or how to fix it would be really
appreciated. Thanks!
Cheers,
Chris
