You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian Marsh <b....@anansi.co.uk> on 2005/06/10 09:50:22 UTC

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

We were running subversion on a windows 2003 server and had a hardware
failure. Being the useless administrator that I am I can't remember
which version of subversion we were running.

I have managed to save all the data from the hard-drive and have a copy
of the old berkerly db repository. Also, the clients have copies of
their repositories.

Thinking I was being clever I installed the latest version of subversion
and copied the old repository on to my new server build and hey presto,
it all seemed to working fine until I verified the database and got the
message:

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.




Thanks,

Brian Marsh


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


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

Posted by Miha Vitorovic <mv...@nil.si>.
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....@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