[Zope] Data.fs

Dieter Maurer dieter@handshake.de
Wed, 16 Jan 2002 20:35:38 +0100


Mayer, Steven writes:
 > I want to read the my Data.fs with the Python programm bbb.py it=B4s i=
n /Utilities.
 > I enter the command:=20
 >=20
 > #python bbb.py -e path/data.fs  =20
 > and then I get the announcement:=20
 >=20
 > "This Input File is a ZODB File Storage
 > This Script only works with ZODB 2 (BoboPos) data or export files."
 > ....
 > What is a ZODB 2 file?
The predecessor of the current ZODB file format...

 > Is there any other programm where I can edit or read the data.fs like =
a textfile?
Hm: After you did that, you will not want to use it any longer?

   ZODB was not designed to be modified randomly.
   You should only append to its end. Sometimes you may
   truncate it, when you know where a transaction boundary is.

There is a product "tranalyser" (or some similar spelling)
that allows you to analyse your Data.fs, to find out
about transactions.

There is an API to access ZODB objects (for reading and writing).
Search for Standalone ZODB.

You should definitely only try to edit the content of a ZODB storage
like a text file in case of catastrophy.


Dieter