You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rob Kendrick <rj...@rjek.com> on 2005/03/07 22:18:18 UTC

Recovery from a broken repository

Hi,

My Subversion repository recently stopped working in the past few days (a 
replacement set of discs have been installed in the server it resides on, data 
was rsynced from one set to the other over a network, if that matters.):

svn@pike:~$ svnlook info svn
svn: No transaction named '3r' in filesystem 'svn/db'

11 rjek@trite:~ $ svn co svn://svn.rjek.com/colloquy
svn: No transaction named '3r' in filesystem '/home/svn/svn/db'

svn@pike:~$ svnadmin dump svn > dump
* Dumped revision 0.
svn: No such string '1yq'

(at which point only a few files are dumped, most of them havn't changed since 
the repository was created.)

svn@pike:~$ svnadmin recover svn/
Repository lock acquired.
Please wait; recovering the repository may take some time...

Recovery completed.
The latest repos revision is 79.

(and it doesn't help at all.)

The repository is only small (80 or so changes, all of 5MB as a tar.bz2, 
berkeley db format), and I have a copy of the head (no branches or anything) 
but losing the change information is vexing.

Has anybody any suggestions for what to try next?  If anybody would like to 
examine a copy of the repository, there's nothing secret in it, and I'm welcome 
to put a tarball of it up somewhere if people think it might help.

Thanks for your time,
-- 
Rob Kendrick
PGP signed or encrypted mail welcome (Key ID: 3651D17A)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Recovery from a broken repository

Posted by Max Bowsher <ma...@ukf.net>.
Rob Kendrick wrote:
> Hi,
>
> My Subversion repository recently stopped working in the past few days (a
> replacement set of discs have been installed in the server it resides on, 
> data
> was rsynced from one set to the other over a network, if that matters.):

Rsynced whilst the repository was active, perchance? Big oops, if so.

> svn@pike:~$ svnlook info svn
> svn: No transaction named '3r' in filesystem 'svn/db'
>
> 11 rjek@trite:~ $ svn co svn://svn.rjek.com/colloquy
> svn: No transaction named '3r' in filesystem '/home/svn/svn/db'
>
> svn@pike:~$ svnadmin dump svn > dump
> * Dumped revision 0.
> svn: No such string '1yq'
...
> The repository is only small (80 or so changes, all of 5MB as a tar.bz2,
> berkeley db format), and I have a copy of the head (no branches or 
> anything)
> but losing the change information is vexing.
>
> Has anybody any suggestions for what to try next?  If anybody would like 
> to
> examine a copy of the repository, there's nothing secret in it, and I'm
> welcome to put a tarball of it up somewhere if people think it might help.

Yes please, go ahead.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org