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

Re: recovering a repository

From: Kamaraju S Kusumanchi <kamaraju_at_bluebottle.com>
Date: 2007-09-06 02:38:10 CEST

Kamaraju S Kusumanchi wrote:

> Hi all
> I have a subversion repository which I haven't touched for a while.
> Today I tried to work on of the projects this repository used to contain.
> To my dismay, I found that the repository is not working. I think the
> repository is corrupted but I am not sure if that is in fact the case. Can
> someone please help me? I am in panic mode right now!

I would like to thank Clemens, Ryan Schmidt, Rainer Sokoll, Neil
Martinsen-Burrell (and other if I missed any) whose timely help helped me a
lot. Using svnadmin dump, svnadmin load commands I was able to recover upto
124 versions. After changing the db/current file to

132 d 1

I was able to checkout a copy of revision 132. It worked even though there
is no revision file for 125. Plus I had a working copy revision 127 in the
backups (found this only after posting my previous emails). Using these
working copies (revisions 127, 132) I was able to recover almost all the
repository intact. I also found that none of the files in db/revprops were
corrupted. So I had access to changelogs and can verify it further.

At the end of the day, I am very happy to say that I recovered most of my
repositoy with your help. Now I migrated all the projects in this
repository to a new repository.

I still have to figure out how to write the post commit hooks so that an
automatic backup is created every time I update the repository. But that
can wait till tomorrow :-)


Kamaraju S Kusumanchi
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 6 02:35:26 2007

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.