You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matt Milliss <ma...@gmail.com> on 2009/10/22 02:29:09 UTC

svnadmin dump fails

I'm trying to dump an existing repo to migrate to a new server but when 
I run the command "svnadmin dump svnroot > svn-dump" I get the following 
error, "svnadmin: Invalid diff stream: insn 0 cannot be decoded". Is 
this a problem that can be solved? It sounds like a corrupt revision. 
Would running recover do anything for me?

Environment info:
$ uname -a
Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 i686 
i386 GNU/Linux

$ svnversion --version
svnversion, version 1.2.3 (r15833)
    compiled Aug 26 2005, 03:42:45

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet 
(http://www.Collab.Net/).

Cheers
Matt

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2410045

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnadmin dump fails

Posted by John Szakmeister <jo...@szakmeister.net>.
On Wed, Oct 21, 2009 at 10:29 PM, Matt Milliss <ma...@gmail.com> wrote:
> I'm trying to dump an existing repo to migrate to a new server but when
> I run the command "svnadmin dump svnroot > svn-dump" I get the following
> error, "svnadmin: Invalid diff stream: insn 0 cannot be decoded". Is
> this a problem that can be solved? It sounds like a corrupt revision.
> Would running recover do anything for me?

If it's an FSFS repo, then no, it won't do anything for you.  Even if
it's BDB, it still won't fix this issue.

It does sound like a broken revision.  What's the last "Dumped
revision" that you see?  If it's an FSFS repo, can you send me the rev
file for the revision *after* that one?  Alternatively, you can try
fsfsverify (http://www.szakmeister.net/fsfsverify/).  Please make sure
to backup your repo before trying anything.

-John

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2410882

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].