[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-04 22:38:17 CEST

Ryan Schmidt wrote:

>
> On Sep 4, 2007, at 08:47, Kamaraju S Kusumanchi wrote:
>
>> Clemens wrote:
>>> I have examined your filenames in db/revs and they seem to be
>>> complete
>>> (namewise). What does your file
>>>
>>> db/current
>>>
>>> contain?
>>>
>>
>> $cat /home/rajulocal/src/repos/db/current
>> # This vi
>
> That's clearly busted. How did it get that way? Did you have hard
> disk corruption at some point? Do you have hard disk corruption right
> now? Do you have backups from which you can restore?
>

Yes. I had noticed some hard drive seek errors at some point and immediately
replaced the hard drive. This happened around Feb 2007. I didn't notice any
data loss at that time, so just copied the old hard drive's contents to new
hard drive.

>> $svnadmin verify /home/rajulocal/src/repos/
>> * Verified revision 0.
>> * Verified revision 1.
>> * Verified revision 2.
>> * Verified revision 3.
>> * Verified revision 4.
>> * Verified revision 5.
>> * Verified revision 6.
>> * Verified revision 7.
>> .....
>> * Verified revision 119.
>> * Verified revision 120.
>> * Verified revision 121.
>> * Verified revision 122.
>> * Verified revision 123.
>> * Verified revision 124.
>> svnadmin: Revision file lacks trailing newline
>>
>> So it seems now it is working upto revision 124. Any idea how to get
>> further?
>
> Do you have a backup of the 124 file you could restore? If not, what
> is the contents of the 124 file now? Does it look reasonable (that
> is, does it look similar in shape to the content of the previous
> revision files that verified correctly)?

 The revision 124 file was created on

$ls -al 124
-rw-r--r-- 1 rajulocal rajulocal 8755 2006-11-04 22:04 124

I make regular backup of the hard drive by synchronizing the files on this
computer with an external USB drive. So all I have is a mirror of my
current hard drive not a backup of old files.

>
> Before you go making any other changes to your repository in an
> attempt to recover it, please make sure you back up the broken
> repository as it is now, in case our recovery attempts break it further.

I have a backup of the current repository. Any suggestions on how to
proceed?

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 4 22:35:36 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.