RE: [Zope] Zope database format for Zope 2.0
-----Original Message----- From: Martin Dougiamas [mailto:martin@dougiamas.com] Sent: Thursday, July 08, 1999 11:40 PM To: 'zope@zope.org' Cc: jeffbauer@bigfoot.com; Brian Lloyd Subject: Re: [Zope] Zope database format for Zope 2.0
Jeff Bauer wrote:
Brian,
My one comment about switching to ZODB3 format is that Zope should be able to recognize and intelligently respond to the user who has the old .bbb format. The response can be a simple: Hey Genius! Get with the program and convert your database ...
Yes, exactly. eg:
The Zope database you are using is from an older version of Zope. Please use the "convert-to-zodb3" program in your zope directory to upgrade your database, like this:
convert-to-zodb3 /opt/zope/var/data.bbb
The .bbb files are not even looked at by Zope running in ZODB3 mode. If Zope runs in ZODB3 mode, then Data.fs is used, if ZODB2, Data.bbb. Since Zope has know way of knowing if running in 2 or 3 mode is your intention, then it can't really spit up an error message about it. Running ZODB2 mode is not really an error situation. -Michel
Martin
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Michel Pelletier