You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sir Woody Hackswell <wo...@hackswell.com> on 2004/09/23 17:34:03 UTC

Recovering data from failed transaction. (HELP!!)

Hello!  I have a deloper on my team who did a commit through tortoiseSVN and 
received a error about transactions.  He then proceeded to delete the files 
he'd just tried to commit, and they're gone.  Hehe... that's not your guys' 
problem.  It's user education.

Now... I have two log.* files on the server from his failed commit.  How can 
I either:

* Stuff those log.* files into the repository
* Convert the log.* into useful files

Any help would be enormously appreciated!!

Svn 1.0.6, Windows XP, stock binary install.  Using SVN protocol.

Thanks!!!

-Richard Balint
Ball Aerospace & Technologies Corp.
rbalint@ball.com



-----
Albert Einstein, when asked to describe radio, replied: "You see, wire
telegraph is a kind of a very, very long cat.  You pull his tail in New
York and his head is meowing in Los Angeles.  Do you understand this?
And radio operates exactly the same way: you send signals here, they
receive them there.  The only difference is that there is no cat."

Sir.Woody@Hackswell.com       http://sir.woody.hackswell.com

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

Re: Recovering data from failed transaction. (HELP!!)

Posted by Bryan Donlan <bd...@gmail.com>.
On Thu, 23 Sep 2004 13:34:03 -0400 (EDT), Sir Woody Hackswell
<wo...@hackswell.com> wrote:
> Hello!  I have a deloper on my team who did a commit through tortoiseSVN and
> received a error about transactions.  He then proceeded to delete the files
> he'd just tried to commit, and they're gone.  Hehe... that's not your guys'
> problem.  It's user education.
> 
> Now... I have two log.* files on the server from his failed commit.  How can
> I either:
> 
> * Stuff those log.* files into the repository
> * Convert the log.* into useful files
> 
> Any help would be enormously appreciated!!
> 
> Svn 1.0.6, Windows XP, stock binary install.  Using SVN protocol.
> 
> Thanks!!!

The log.* files are low-level records of the underlying database, used
to recover from crashes. It'd be very difficult to extract the data
from it. Moreover, if you have log auto-deletion on, not all of the
data might be there. However, if the transaction still exists
(svnadmin lstxns would list it), you can use svnlook to get at the
data, specifying the transaction with -t.

-- 
bd

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