How, if possible, can one delete the latest transactions in Data.fs? If I wanted to delete all transactions after a given date, can I do that? if not, is it possible to load the Data.fs -file using python and somehow export a given object and subobjects (like export in the zmi)? Best regards Einar Næss Jensen -- -- Einar Næss Jensen http://einarblog.homemade.no/einarblog http://www.homemade.no tlf: +47 90990249 (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Einar Næss Jensen wrote:
How, if possible, can one delete the latest transactions in Data.fs? If I wanted to delete all transactions after a given date, can I do that?
if not, is it possible to load the Data.fs -file using python and somehow export a given object and subobjects (like export in the zmi)?
You can open an existing storage and copy transactinos into a new one, including stopping at a given time. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIYAh+gerLs4ltQ4RAhERAJ9bfAea2HhEiElCyoXYPrw3U19+7gCgxj+P Dx5IdvCWe6aiLMfKVFshJDs= =xw8g -----END PGP SIGNATURE-----
http://www.zope.org/Members/itamar/CorruptedZODB Stefan On 2. Okt 2006, at 23:03, Einar Næss Jensen wrote:
How, if possible, can one delete the latest transactions in Data.fs? If I wanted to delete all transactions after a given date, can I do that?
if not, is it possible to load the Data.fs -file using python and somehow export a given object and subobjects (like export in the zmi)?
-- It doesn't necessarily do it in chronological order, though. --Douglas Adams
On 10/2/06, Stefan H. Holek <stefan@epy.co.at> wrote:
http://www.zope.org/Members/itamar/CorruptedZODB
Stefan
Great! It worked. I deleted the latest transactions and my zope is no longer on dope. Related: Is it safe to only delete the transactions I want, or do I have to truncate the Data.fs file, including a few transactions I still want?)
participants (3)
-
Einar Næss Jensen -
Stefan H. Holek -
Tres Seaver