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

RE: Re: Server died. Any advice on getting our repository back again?

From: Spuhler, Peter <pspuhler_at_ball.com>
Date: 2005-06-10 17:48:29 CEST

I had the same problem after upgrading subversion on solaris using the blastwave.org package. Here's the solution from the package maintainer which worked for me. Your path to db_recover will probably be different if you're not using blastwave packages.

It is possible to recover the database using the db_recover command
directly:

$ /opt/csw/bdb43/bin/db_recover -h /path/to/svn/repo/db

-----Original Message-----
From: Miha Vitorovic [mailto:mvitorovic@nil.si]
Sent: Friday, June 10, 2005 5:24 AM
To: Brian Marsh
Cc: users@subversion.tigris.org
Subject: Re: Server died. Any advice on getting our repository back again?

Your database most probably uses the 4.2 BDB. So I suggest this is what
you do:

- grab yourself a 1.1.4 Subversion distro - ZIP file
- unzip only the bin directory into c:\temp
- open the 1.2.0 Windows README
- follow the BDB upgrade procedure from the readme doc, using the 1.1.4
binaries.

After that you may start using the 1.2.0 release binaries.

Cheers,

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
"Brian Marsh" <b.marsh@anansi.co.uk> wrote on 10.06.2005 11:50:22:
> DB_VERSION_MISMATCH: Database environment version mismatch
> svnadmin: bdb: Program version 4.3 doesn't match environment version
> 
> Can anyone advise me on how to find out what version my database was
> created in so I can use the dump/load procedure explained in the docs
> provided or if there is a handy tool to import the old database into a
> new repository without the need to install the older version of
> subversion or whether my whole recovery procedure is flawed and if I
> should be doing something else.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 17:53:37 2005

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