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

Re: Subversion Ate My Repository

From: Matt Navarre <mnavarre_at_cox.net>
Date: 2004-06-04 08:40:52 CEST

On Thursday 03 June 2004 09:02, Matt Navarre wrote:

> >
> > I'd say something is seriously wrong either wirh your Subversion build
> > or your Berkeley DB, and I suspect the following. Have you tried the
> > db_recover command? Apart from that, it does the same thing as "svnadmin
> > recover". If that works, you'll at least know that the problem is in
> > Subversion. Or the other way around, of course.
>
> Is db_recover part of the Berkeley DB distribution? It doesn't seem to have
> a man page on my system. The DB on this machine is db4-4.0.14-20. I don't
> know if it's the default from RH9 or was installed by up2date. The svn
> rpm's are the ones from subversion's downloads page, but if I can recover
> I'll try building both from source and see if that stops the crashy
> badness.
>
> Thanks.

Well, *That* didn't work. db_recover segfaulted too. Is there any harm that
will be done by cp'ing the repo directory somewhere, building BDB,
subversion, et. al. from source and trying to recover using the new software
not built on an unknown box? I'm *fairly* sure it's not the machine, since
everything else is running fine, with no crashy badness.

I suspect the BDB rpm that's installed on here, so what I'm thinking is cp the
repos dir to a backup. Rebuild all the SVN related software from source and
attempt recovery again. If that fails I can always cp the backup back, and be
just as screwed as I am now. Unfortunately I don't have an actual DB backup,
so catastrophic recovery using db_recover isn't possible. It was on my TODO
list. Honest.

Anything I might be missing here?

-- 
mnavarre@cox.net             
it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 08:42:06 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.