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

Re: Broken repository... Help!

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-23 18:58:16 CEST

Robert William Jones wrote:
> Hi there
>
>
> I have moved a repository to a new machine following a Windows XP crash,
> but
> was unable to copy all the files properly because it appears that some of
> the files were corrupted by the crash.
>
> These two files from the repository DB\ folder definitely have problems:
>
> LOG.0000000009
> _db.004
>
> When I try to run 'svnadmin recover' on the repository I get the following
> message:
>
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery
>
> Can anyone suggest next steps to remedying this?

If you are lucky, then making a *copy* of your repository and removing (from
a COPY), __db.*, and then trying "svnadmin recover repospath", and then if
that doesn't work "db_recover -vec" (executed from the db subdirectory of
the copy of the repository), will fix things. If not, try the same again,
this time try removing both __db.* and log.* . If you now have a functioning
repository _don't_ put it back into service - "svnadmin dump" it, and load
the dump into a new repository.

If not, tar or zip your repository, put it on a web/ftp site, and email me
the url (privately if you wish), and I'll see what I can do.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 23 18:58:50 2004

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