SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup compatibility with older versions?
Author Message
Post rdiff-backup compatibility with older versions? 
Hello,

I have a Linux box running rdiff-backup 0.12.7 and a Solarix box w/ 0.13.4.
Attempting to pull data from Linux onto Solaris fails (and so does other way
round too). --test-server returns warning but says "may work":

solaris# rdiff-backup --test-server user < at > linux::/home .
Warning: Local version 0.13.4 does not match remote version 0.12.7.
Testing server started by: ssh -C user < at > linux rdiff-backup --server
Server may work, but there is a version mismatch:
Local version: 0.13.4
Remote version: 0.12.7

But doing an actual backup, I get "Truncated header string.." error :(

solaris# rdiff-backup user < at > linux::/home/user .
Warning: Local version 0.13.4 does not match remote version 0.12.7.
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 257, in Main
final_set_action(rps)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 190, in final_set_action
if restore_set_root(rps[0]): action = "restore"
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 606, in restore_set_root
parent_dir = rpath.RPath(rpin.conn, "/".join(pathcomps[:i]))
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py",
line 667, in __init__
else: self.setdata()
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py",
line 692, in setdata
if self.lstat(): self.conn.rpath.setdata_local(self)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 445, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 367, in reval
if isinstance(result, Exception): raise result
AttributeError: 'module' object has no attribute 'setdata_local'
bash-2.03$ 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
254, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
224, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 347, in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 309, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/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)

solaris#
--------------------------------

Firstly does this combination of version numbers designed to work together?

If yes, any idea what might be going wrong? if anyone needs more info (e.g.
output with -v9) let me know.

If no, why? I thought as long as we are at same/compatible level of
librsync (>= 0.9.6) things should work. no?

Thanks
abhi

Post rdiff-backup compatibility with older versions? 
abhi wrote:
Firstly does this combination of version numbers designed to work together?

no


If no, why? I thought as long as we are at same/compatible level of
librsync (>= 0.9.6) things should work. no?


many other things changed between those versions. fs detection, metadata
in a file etc. 0.13.4 is stable enough these days

dave

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB