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

Re: Can't recover svn repo

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Mon, 26 Oct 2009 17:39:06 +0100

On Monday 26 October 2009, Alec Leamas wrote:
> I need help to, if possible, recover some svn repos. The problem can be
> stated in two lines:
> cd /usr/local/svn
> svn # svnadmin verify yalt2
> svnadmin: Can't open file 'yalt2/format': No such file or directory
> I get this message for all kinds of svnadmin operations, including
> restore. The reason is obvious: the file 'format' is indeed missing. I
> can see it in other repos, but not in this one.

At this point, the typical suggestion is "just get your last backup". I'll
repeat here that SVN is not a replacement for a backup and recovery strategy.

> This repo is one which I havn't touched for some years. During this
> period, I have upgraded my Fedora 11/x86_64 system several times and I
> guess this is the reason (?). It seems that other repos which I have
> accessed over time has been updated somehow; these works fine.
> I have tried to access and recover the repo with some older versions of
> Fedora (9, 7) without success; same error message.
> But now I'm stuck. I don't really know what I have in my repo: what
> version, which kind of db (Berkeley?). I don't even know if it's
> corrupted or just in an old format. Basically, I just don't know what to
> do.

If this really is in an old format, it is very old, probably predating the 1.0
release of Subversion.

1. Make a backup, so you can safely toy with the repo.
2. The 'format' file just contains an integer less than (I think) 6. You could
try those in order and see if it gets you any further.

> ./db/revprops:
> 84 85 86 87 88 89 90 91 92 93 94
> ./db/revs:
> 84 85 86 87 88 89 90 91 92 93 94

Looks a bit like an FSFS repository, but it is missing the revisions 0 to

Good luck!


ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
           Visit our website at <http://www.satorlaser.de/>
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-26 17:40:35 CET

This is an archived mail posted to the Subversion Users mailing list.