I have a 7-year-old repository. In order to do some maintenance I ran svnadmin verify
on the repository. I got a checksum mismatch error on several revisions.
I tried to create a dump without the bad revisions and recreate the repository, but there were lots of young revisions which depend on the bad revisions. I cannot backup my repository using svnadmin dump
when it is in this state.
Is there a workaround for these errors in order to create a repository dump file?
After some googling I found the following post.
Following these guidelines I was able to 'Fix' the bad revisions and complete a full svnadmin verify command. Also, it allowed me to create a full dump of the repository.
The shortcoming of this solution is that it does not actually repair the bad revisions. It just make them clean for the SVN to handle them correctly. I assume that if I try to checkout files in these revisions I might get errors.
Hopes that helps anyone.