You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Patterson <da...@adaptiveinternational.com> on 2003/10/06 00:25:25 UTC

Missing transaction, proper recovery process?

Hello all,

  I'm not sure what has caused it at this stage, but I appear to
  have experienced some kind of repository corruption.  I
  started seeing the following this morning:

www-data@carl:~$ svnlook tree /opt/svn/repos2/
svn: Invalid filesystem transaction name
svn: no transaction named `1am' in filesystem `/opt/svn/repos2/db'

  So I tried this:

www-data@carl:~$ svnadmin recover /opt/svn/repos2/
Acquiring exclusive lock on repository db.
Recovery is running, please stand by...
Recovery completed.
The latest repos revision is 1504.

  But I still got this:

www-data@carl:~$ svnlook tree /opt/svn/repos2/
svn: Invalid filesystem transaction name
svn: no transaction named `1am' in filesystem `/opt/svn/repos2/db'

  So I thought, ok, I'll dump the good stuff and restore it into
  another repository:

www-data@carl:/var/tmp/dump$ svnadmin dump -r1500:HEAD --incremental
/opt/svn/repos2 > repos2.dump
* Dumped revision 1500.
* Dumped revision 1501.
* Dumped revision 1502.
* Dumped revision 1503.
svn: Invalid filesystem transaction name
svn: no transaction named `1am' in filesystem `/opt/svn/repos2/db'

  Ok, looks like I've lost the final revision (r1504).  The dump
  reloads fine, and I can keep going.

  Does anyone have any way of restoring that final revision?

daniel


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

Re: Missing transaction, proper recovery process?

Posted by "C. Michael Pilato" <cm...@collab.net>.
Daniel Patterson <da...@adaptiveinternational.com> writes:

> www-data@carl:/var/tmp/dump$ svnadmin dump -r1500:HEAD --incremental
> /opt/svn/repos2 > repos2.dump
> * Dumped revision 1500.
> * Dumped revision 1501.
> * Dumped revision 1502.
> * Dumped revision 1503.
> svn: Invalid filesystem transaction name
> svn: no transaction named `1am' in filesystem `/opt/svn/repos2/db'
> 
>   Ok, looks like I've lost the final revision (r1504).  The dump
>   reloads fine, and I can keep going.
> 
>   Does anyone have any way of restoring that final revision?

Got working copy?

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