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
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 )
On Tue, 26 Jun 2001 23:08:23 -0400 you wrote:
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.
This was a huge help. I used dd to chop off the end of Data.fs and I got exactly what I needed. It'd be great to have a simple tool to do this. I'd like to be able to just specify an end time and have a truncated Data.fs file generated. BTW, I decided to play with making an offsite live backup of Data.fs. I'm simply using tail -f -n +0 Data.fs | ssh ... I'll sleep better tonight. Thank you! --kyler
participants (2)
-
Chris McDonough -
Kyler B. Laird