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

Re: database corruption

From: Pejvan BEIGUI <pejvan_at_online.fr>
Date: 2004-07-16 15:55:23 CEST

Ben Collins-Sussman wrote:

> Pejvan BEIGUI wrote:
>
>> How can I fix that?
>> How can I get my database information back?
>
>
> Surely, since you administer a database, you're making regular backups,
> right? And surely you've read all about the proper care and feeding of
> your database in chapter 5 of the book, right? :-)
>
I made daily backups, but the thing is, I keep only the backups of the
two last days on a second drive, so my 2 back-ups are screwed up. And
yes this may be a mistake but I also make backups every once in a while,
on a DVD-RW, but since I've been away for a few weeks, my DVD backup is
too old :(

Well, I've done nothing more than committing my changes, so I guess I
couldn't harm my DB this way, otherwise it really means that I should
quit using svn, right? :-)

> Have you tried 'svnadmin recover', running as the proper user?
>

This is what I get :
> $svnadmin recover /Users/pejvan/Safe/subversion-repository
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery

> The 'invalid argument' thing looks like you've got mismatched BDB
> libraries. Like, one version of BDB trying to open a database created
> by a different version. Did you recently upgrade subversion or BDB?
>
>
I've upgraded from version 1.0.4 to 1.0.5 but I didn't see any db
incompatibilities in the readme. Am I blind? :-)

Thanks for your help,

Pejvan

-- 
Pejvan BEIGUI                                     pejvan@online.fr
Cet email comporte une signature electronique au format OpenPGP/MIME.
Pour votre propre sécurité, tout email semblant provenir de cette
adresse mais ne comportant pas de signature ou une signature
non-valide sera réputé falsifié.

Received on Fri Jul 16 15:56:07 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.