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

Re: Repository broken

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-02-10 12:52:03 CET

Bryan Donlan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew V. Koryavchenko wrote:
>> File 'strings' in DB has been broken (size only 16K). But all log files
>> is good. Can I recover repository?
>
> If you have *all* of the log files, all the way from log.00000001, do
> this:
> * Make sure nothing tries to access the repository
> * Make a backup copy
> * Replacing (version) with the version of bdb subversion is compiled
> for, run:
> ~ db(version)_recover -cev -h (repository path)/db
> * svnadmin verify (repository path) and make sure the expected number of
> revisions are present.

The above is good advice.

I'll add one comment, though:

The db_recover -e flag *probably* won't cause any problems, but it
*definitely* isn't required.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 10 12:59:47 2005

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.