[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Is it possible to upgrade an older db version?

From: Maurice R. Kelly <subversion_at_chatswood.org.uk>
Date: 2004-08-10 15:10:08 CEST

Max Bowsher wrote:

> Maurice R. Kelly wrote:
>
>> From what I've read in this list's archives (and other places) it seems
>>that I'm probably looking at an incompatibility between db versions
>>(I've created a new test repos and it interacts fine with Apache). I'm
>>now running 4.1.25 but in fitting with my luck, I have no idea what the
>>previous version was.
>
>
> od -A d -t d4 /path/to/repos/db/__db.001 | less
>
> Look through the output. Somewhere in the first 200 bytes or so, you will
> see one of the sequences:
> 4 0 14
> 4 1 25
> 4 2 52

Okay - my old repositories appear to use 4.2.52:
0000032 0 4 2 52

> Now you've done that, you (compile | find a precompiled binary of)
> subversion linked with the appropriate BDB version.

Right, I'll try to obtain (source or binary) BDB 4.2.52 and compile it
up. Can I use some of the tools provided by BDB in order to produce the
dump (as I presume Subversion simply wraps around DBD routines when
producing dumps)?

> Or, you put a tarball of your repository on a web/ftp site, email me a link,
> and I'll get a dump back to you in the same way.

Thanks for this offer - I'll have a go at sorting it myself before
putting you out.

I think I have most certainly learnt my lesson regarding backups!

Again thanks,

Maurice

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 10 15:10:57 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.