SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
[Fwd: Re: backup error due to different versions of rdiff-b
Author Message
Post [Fwd: Re: backup error due to different versions of rdiff-b 
[Failed to hit reply-all. Here it is for the archive.]

Hi Scott,

Dr. Scott S. Jones wrote:
I am experiencing a strange backup problem, as described below:
[snip]
Warning: Local version 1.1.5 does not match remote version 0.13.4.
[snip]
Server may work, but there is a version mismatch:
Local version: 1.1.5
Remote version: 0.13.4
[snip]
My questions:

How do I get both to be the same versions? I run Debian 3.1 on both machines
and keep things updated with apt-get update/upgrade.

Scott

Your local server that has 1.1.5 must be running Debian Unstable as
that's the version of rdiff-backup in Debian Unstable right now. Your
remote server with 0.13.4 must be running Debian Stable as that's the
version of rdiff-backup in Debian Stable right now.

You can confirm this by checking your apt sources in /etc/apt/sources.list

You have several options to get both systems using the same
rdiff-backup. One would be to upgrade the stable server to unstable.
(This might not be wise if that server is mission-critical.)

Another option would be to uninstall rdiff-backup from both systems and
then just download 1.0.4 from the website and compile it on both
systems. The installation is extremely simple, but you can't use the
Debian version of librsync. So, as root do this on each machine:

Step 1: Get Python dependencies.

# apt-get install python2.3 python2.3-dev python2.3-pylibacl
python2.3-pyxattr

(Those last two are optional, but you might as well...)

Step 2: Get librsync.

# wget
http://easynews.dl.sourceforge.net/sourceforge/librsync/librsync-0.9.7.tar.gz
# tar zvxf librsync-0.9.7.tar.gz
# cd librsync-0.9.7
# ./configure
# make
# make install
# ldconfig

Step 3: Get rdiff-backup.

# wget
http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.0.4.tar.gz
# tar zvxf rdiff-backup-1.0.4.tar.gz
# cd rdiff-backup-1.0.4
# python setup.py install

Then you're set.

Good luck.

Brian

Post [Fwd: Re: backup error due to different versions of rdiff-b 
On Fri, 20 Jan 2006, Brian C wrote:

Another option would be to uninstall rdiff-backup from both systems and
then just download 1.0.4 from the website and compile it on both
systems. The installation is extremely simple, but you can't use the
Debian version of librsync. So, as root do this on each machine:

you can grab my deb if you want:

http://arctic.org/~dean/debian/rdiff-backup_1.0.4-0.cvs20060120_i386.deb

debian's librsync works fine for me... why do you have troubles with it?
i'm pretty sure stable has 0.9.7 now...

-dean

Post [Fwd: Re: backup error due to different versions of rdiff-b 
dean gaudet wrote:
you can grab my deb if you want:

http://arctic.org/~dean/debian/rdiff-backup_1.0.4-0.cvs20060120_i386.deb

debian's librsync works fine for me... why do you have troubles with it?
i'm pretty sure stable has 0.9.7 now...

I could be wrong about Debian stable's version of librsync (it is 0.9.7)
not working with a manually installed rdiff-backup 1.0.4 because I
initially did not have python2.3-dev installed (which is required) and
so the errors I saw could have been related to that even though I
thought it was complaining about librsync.

Someone with a fresh Sarge installation should try:

# apt-get install python2.3 python2.3-dev python2.3-pylibacl
python2.3-pyxattr librsync

# wget
http://arctic.org/~dean/debian/rdiff-backup_1.0.4-0.cvs20060120_i386.deb

# dpkg -i rdiff-backup_1.0.4-0.cvs20060120_i386.deb

and let us know what happens.

Brian

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