The ZODB which is stored in your Data.fs is a OODBMS. Whomever is using your Zope instance is probably storing all of his python scripts, html, dtml, zpt's, etc in the ZODB (Data.fs) but storing actual business data in a MySQL installation. (ie, the scripts and pages used to show user data are in Data.fs, the user data itself is probably in the MySQL instance). ps. Still at Acadia Marc? ;) - Rocky Burt
--------- Original Message --------- From: Marc G. Fournier [mailto:scrappy@hub.org] Sent: March 26, 2003 16:36:55 -0400 To: J Cameron Cooper, zope@zope.org Subject: Re: [Zope] var/Data.fs: any way to regenerate from scratch?
On Wed, 26 Mar 2003, J Cameron Cooper wrote:
I tried to run the fsrecover.py script on the Data file (a copy of it), and it closes with:
exceptions.ValueError: unpack list of wrong size
So I'm figuring that the Data.fs must be one of the casualties of the crash ...
Now, Zope is a new one for me, and really have no idea of what the Data.fs is even used for ... is it something that I can just delete and Zope will just start building it from scratch? Or is it something that I can regenerate based on information from the file system?
I found the following link:
http://www.zope.org/Members/itamar/CorruptedZODB
And tried it, but it made no difference ... from what I read in the URL, it sounds like I'm basically removing transactions, one at a time, from Data.fs ... what does that affect (ie. what am I losing for each transaction I remove)? how far back can/should I remove?
The Data.fs contains your entire Zope installation. Everything else is replacable.
'K, what is the MySQL backend used for? (sorry, forgot to mention in my original post)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )