[Zope] replay transactions?

Chris McDonough chrism@digicool.com
Tue, 26 Jun 2001 23:08:23 -0400


Kyler.. if you haven't packed the database and you're using FileStorage,
it's very possible to truncate the Data.fs at a point before the
offending transaction was performed.

See this howto:  http://www.zope.org/Members/itamar/CorruptedZODB for
the basics... it will be difficult to tell exactly where to truncate the
Data.fs, espcially since there are an indeterminate number of
transactions since the offending one, because Tranalyzer outputs
everything in a very raw format.  Apparently, Toby Dickenson has
modified the Tranalyzer to be slightly more friendly and verbose, and
his version is available here:
http://www.zope.org/Members/htrd/tranalyzer .  It will still be a pain,
sorry.

- C


"Kyler B. Laird" wrote:
> 
> One of our Zope administrators blew away some work
> by deleting an object and importing a new one in
> its place.  I've been unable to undo the
> transactions.
> 
> Instead, I have restored the missing objects from
> a backup.  Significant work was done since the
> backup, though.  (It was a long night.)  I can see
> the transactions in the folder's Undo page.  Is
> there a way to get at the transactions and replay
> them?
> 
> Thank you.
> 
> --kyler
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )