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

Re: Restoring corrupt revision

From: vishwajeet singh <dextrous85_at_gmail.com>
Date: Thu, 22 Apr 2010 13:00:46 +0530

On Thu, Apr 22, 2010 at 12:49 PM, Cooke, Mark <mark.cooke_at_siemens.com>wrote:

> >>
> >> I have identified a single corrupt revision in the repository.
> >>
> >> Is restoring that ** specific ** revision from a tape
> >> backup a reasonable approach or is it a hack and could cause
> >> further problems down the track.
> >>
> > I don't see any other option than this either, even if this
> > is hack, I have done similar thing for one of our
> > repositories and haven't faced any problem in future, so
> > even if this is hack I don't see any problem with the approach.
> >
> Out of interest, how can you restore a single revision into a repo? I
> am assuming reasonably clever use of dump and restore? Including from a
> recovered version of the repo on a spare svn server? Or is there a
> quicker/easier way?
>
>
 There is quicker and wicked way to do it at least the way I did it, I am
not sure if the approach was right or wrong but this will only work if you
have backup of repository at some point which is not corrupted just go to
the db directory of repository copy that revision and past it in your
corrupted repository but as I said this is hack and not a clean approach but
worked for me, I am not recommending it to anyone to try it at your own
risk, that was a last resort for me and worked.

Regards,
Vishwajeet Singh
+91-9657702154 | dextrous85@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet
Received on 2010-04-22 09:31:42 CEST

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.