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

[TSVN] Recover repo?

From: Peter Mounce <pete_at_x-rm.com>
Date: 2004-08-31 11:19:32 CEST

I posted this to the SVN users list on Friday, but got no response
that I can see. Can anyone here help?

Since posting, we have tried the svnadmin recover command - sometimes
it responds that it has recovered successfully, sometimes (we attempt
to commit, get an error, so retried the command a couple of times, as
well as svnadmin verify) it tells us the DB is unrecoverable.

We've since restored an earlier backup, and will see how that goes -
we have kept a copy of the not-working repository in case the SVN devs
need it.

PM> We just had our fileserver's hard drive crash - it runs Windows 2k
PM> sp4, with SVN 1.06 and Apache-for-Windows. This took our SVN
PM> repositories (we use one repo per project, for reference) with it; now
PM> we're restoring them from our tape backups. It was a great Friday.

PM> Anyway, one of the repos is giving us problems. When we restore our
PM> most recent full backup, we can access it fine - this brings us to
PM> last Friday, so none of this week's commits are present.

PM> When we then restore incremental backups over that, we get the
PM> following error when attempting to access the repo via a browser:

PM> <D:error>
PM> <C:error/>
PM> -
PM> <m:human-readable errcode="160029">
PM> Berkeley DB error while checkpointing after Berkeley DB transaction
PM> for filesystem F:\svnrepo/dls/db: Invalid argument
PM> </m:human-readable>
PM> </D:error>

PM> (Apologies for formatting)

PM> Our daily diff seems to have all of the files, and they verify as ok
PM> in the backup logs.

PM> We'd quite like to know how to proceed... Anyone have any useful
PM> advice, please?

PM> Luckily, we have a most-recent working copy (which we have now
PM> panic-backed-up to a CD...) of the project that is stored in the
PM> troublesome repo, so I guess in theory we could commit that back to
PM> last Friday's image of the repo - but we'd like to restore as much
PM> history as possible.

-- 
Regards,
Peter Mounce  ( mailto:pete@x-rm.com )
Software Developer    http://www.x-rm.com - X-RM Ltd, Winchester
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 31 12:20:08 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.