[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: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-10 13:32:44 CEST

Maurice R. Kelly wrote:
> I was recently forced to update my entire Linux box - of course I had
> backups of all important data directories including my Subversion
> repositories. Unfortunately what I hadn't done was take a proper data
> dump of the repositories. After installing Subversion RPMs for Mandrake
> 10 I configured Apache to provide repository access again, and was
> greeted with:
...
> Could not open the requested SVN filesystem
...
>
> And in my Apache error_log:
> [Mon Aug 09 22:40:09 2004] [error] [client 10.0.0.195] (20014)Error
> string not specified yet: Berkeley DB error while opening environment
> for filesystem /export/smb-docs/subversion/sites/db:
> Invalid argument
...
>
> 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

> Is there any way that I can figure out what my repos db version is? And
> if so, is there any way I can take a dump of the repos and create a new
> one from the dump.

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

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.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 10 13:33:23 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.