subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eiren Smith <eir...@gmail.com>
Subject Re: Recovering repository with multiple missing rev/ files
Date Fri, 30 Jul 2010 17:57:12 GMT
On Jun 15, 2010, at 11:31 AM, Stefan Sperling wrote:

> On Tue, Jun 15, 2010 at 11:09:39AM -0400, Eiren Smith wrote:
>> Dear SVNers,
>> 
>> I'm trying to recover an SVN repository after a hard drive failure.
>> From 7,797 revisions, we lost the following seven (7) files from the
>> .../repo_dir/db/revs/7/ directory:
>> 
>>  7437 (7-9 Dec 2009) (file also missing from revprops/ dir)
>> 
>>  7461 (16 Dec 2009)
>> 
>>  7519 (8 Jan 2010)
>>  7520 (8 Jan 2010)
>>  7521 (8 Jan 2010)
>> 
>>  7679 (19 Mar 2010)
>> 
>>  7683 (19 Mar 2010)
>> 
>> This single SVN repository contains many different software
>> projects/products. So I would prefer to be able to rebuild my
>> repository and only lose the revisions that explicitly depend on
>> those seven missing revs/ files, rather than having everything stop
>> at rev. 7436. Being able to recover all the way to 7797 might mean
>> only five products are affected but all our other products would
>> have their history fully restored, which would be excellent.
>> 
>> Is there a way to do this?
> 
> Can you still create dumpfiles containing the revisions that
> did not get lost? If so, you could stitch together a new repository
> and fill in the missing revisions manually (if you still know what
> happened in those revisions, or can guess what happened).
> 
> See the svnbook section on rewriting history:
> http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering
> 
> And see the section called "REVISIONIST HISTORY" of this file:
> http://svn.apache.org/repos/asf/subversion/README
> 
>> P.S. Other files may also be missing from the revprops/ dir, not
>> just 7437 -- If I'm willing to lose commit messages, can I live
>> without some revprops/ files?
> 
> You should recreate the revprops for all revisions.
> 
> Stefan


Dear Stefan,

I'm picking up this oldish topic, which I'm back to after a month of distractions.

> Can you still create dumpfiles containing the revisions that
> did not get lost? If so, you could stitch together a new repository
> and fill in the missing revisions manually (if you still know what
> happened in those revisions, or can guess what happened).


Unfortunately, it appears I cannot create dump files from revisions after a missing revs/
file gap. All the dumpfiles I created which began with a revision past a point of continuity
were unusable. They collapsed upon re-import (svnadmin load …) into a single revision instead
of hundreds of revisions.

Any idea why that might be or how I might get around it?

Thanks for your continued help,

/eiren
Mime
View raw message