The hard drive holding my SVN repository recently failed. We were
able to recover the files from the failing hard drive, but it appears
much of the files were corrupted.
I created a new server to put subversion, and copied the recovered
repository files over.
When I try to check out all the HEAD revision in the repository, I
eventually reach this error
svn: REPORT of '/svn/!svn/vcc/default': 200 OK (http://svnserver)
I found that running "svadmin verify" gives me the following output
* Verified revision 0.
* Verified revision 1.
* Verified revision 2.
* Verified revision 3.
* Verified revision 106.
* Verified revision 107.
* Verified revision 108.
svnadmin: Revision file lacks trailing newline
All revisions through 108 say Verified. So I interpret this to mean
that revision 109 is corrupt somehow.
As I understand it is possible to dump the non-corrupt revisions and
then load them into another repository. So I tried a dump:
svnadmin dump /var/svn -r 1:108 > dump-1-108
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.
* Dumped revision 4.
* Dumped revision 5.
* Dumped revision 6.
* Dumped revision 7.
* Dumped revision 8.
svnadmin: No such revision 9
I don't understand why it now tells me that revision 9 does not exist.
As I just I run the verify command, it verifies this revision 9 just
Also, I'm a bit confused if what I'm trying to do is even possible.
As I understand it, each revision is stored as a diff of the previous
revision, so must every revision be intact for me to check out HEAD?
If, for example, I was able to dump revisions 1:108 and then 110:HEAD
(skipping a corrupt revision 109), and load those dumps in a
repository, does that mean that any changes made in revision 9 will
not be applied to any later revisions?
Basically, is there any hope in using this repository data 1)
Retreiving at the very least the HEAD revision? and 2) Retaining any
revision history? Or am I going to have to start fresh and import
everything from scratch from whatever checked out files I can find on
various other computers?
Also, not sure if this matters, but the initial server was on windows,
and the rebuilt one is on Linux. Unfortunately there were no backups
of the repository.
Any help is appreciated
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-29 02:59:44 CET