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

Re: Reconstructing a repository from revs/* files

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-17 01:39:04 CET

On Mar 16, 2007, at 14:22, hajhouse wrote:

> It is possible to reconstruct a repository from the files in db/revs/
> alone? As far as I can tell all the files for all the revisions are
> present, but filesystem corruption destroyed all the other pieces
> of the
> database (fsfs format).

You'd almost certainly also need the contents of db/revprops/, one
file per revision, just like db/revs/.

> I have already the obvious (to me) method of creating a new empty fsfs
> repository, deleting the current file, and copying the revs/* files to
> the repository that I wish to reconstruct into the appropriate place,
> then running svnadmin recover. The svnadmin recover command returns
> success but the repository afterwards does not work:
> $ svn co file:///home/hajhouse/recover/REPO/
> svn: No such revision 891
> This is subversion 1.5. Any ideas would be appreciated!

Subversion 1.5 has not been released yet. Do you need a feature
that's being developed in Subversion 1.5, or could you be using the
most recently released version, 1.4.3?

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 17 01:39:44 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.