undoing ZODB transaction from command line
Hi, I was wondering how to undo a ZODB transaction from the command line. I deleted vurt (the default VirtualHostMonster instance) on our website and it killed everything. thanks, -- Bryan K. Ogawa <bko@cisco.com> http://www.vovida.org/
BRYAN OGAWA wrote:
I was wondering how to undo a ZODB transaction from the command line. I deleted vurt (the default VirtualHostMonster instance) on our website and it killed everything.
You can either just lop a few bites off the end of the ZODB, or you can write some Python to open the ZODB and then call the undo method... (the second option is harder ;-) cheers, Chris
On Wed, 8 May 2002, Chris Withers wrote:
BRYAN OGAWA wrote:
I was wondering how to undo a ZODB transaction from the command line. I deleted vurt (the default VirtualHostMonster instance) on our website and it killed everything.
You can either just lop a few bites off the end of the ZODB, or you can write some Python to open the ZODB and then call the undo method...
(the second option is harder ;-)
I did that and it worked. I used tranalyzer to figure out how much to lop off http://www.zope.org/Members/tsarna/Tranalyzer and used head -b to make a slightly smaller version of my db (which isn't portable, but is great for this purpose). Thanks, bryan
cheers,
Chris
-- Bryan K. Ogawa <bko@cisco.com> http://www.vovida.org/
BRYAN OGAWA writes:
I was wondering how to undo a ZODB transaction from the command line. I deleted vurt (the default VirtualHostMonster instance) on our website and it killed everything. Usually, this should not be necessary.
Access Zope directly (without Apache) and undo via the management interface. Dieter
participants (3)
-
BRYAN OGAWA -
Chris Withers -
Dieter Maurer