[Zope] Recovery Disaster :(

David Huttleston Jr dhjr@hddesign.com
Mon, 29 Jul 2002 02:18:13 -0500


I'm in a big bind.  During a server upgrade our
tape unit ate our backup tape.  :(  So our Data.fs
file is not recoverable.  We have an XML export of
the root folder of Zope (it's about 300MB), which
has everything we need.  But, it will not load
into our new Zope.

The export was made from a RedHat 7.2 system
running Zope 2.5, were trying to import the xml
file into the root folder on a FreeBSD 4.6 system
running Zope 2.5.1.

Just to complicate things, in one of the
development trees there was a single instance of a
ZPoPy database adapter and a ZSQL referencing it.
This product did not exist any more, but the
object was not removed.

After about a 20 minute import, the the logfile
created from Z2.py's stdout shows the text below
(followed by 15 more POSKeyError's).

Thank you for any suggestions.
Sincerely,
  Dave

------
2002-07-29T06:56:13 INFO(0) ZODB Opening database
for mounting: '142771272_1012909665.012252'
------
2002-07-29T06:56:13 INFO(0) ZODB Mounted database
'142771272_1012909665.012252' at /temp_folder
------
2002-07-29T06:56:13 INFO(0) Script (Python) Some
of your Scripts have stale code cached.  Since
Zope cannot use this code, startup will be
slightly slower until these Scripts are edited.
You can automatically recompile all Scripts that
have this problem by visiting
/manage_addProduct/PythonScripts/recompile of your
server in a browser.
------
2002-07-29T06:56:47 PROBLEM(100) ZODB Could not
import class 'Connection' from module
'Products.ZPoPyDA.DA'
------
2002-07-29T07:00:30 ERROR(200) ZODB setklassstate
failed
Traceback (innermost last):
    File /usr/local/www/Zope/lib/python/ZODB/Connection.py,=20
line 510, in setklassstate
=09(Info: ^@^@^@^@^@^@#O)=20
    File /usr/local/www/Zope/lib/python/ZODB/FileStorage.py,=20
line 582, in load
=09(Object: /usr/local/www/Zope/var/Data.fs)
    File /usr/local/www/Zope/lib/python/ZODB/FileStorage.py,=20
line 557, in _load
=09(Object: /usr/local/www/Zope/var/Data.fs)
POSKeyError: 000000000000234f

--=20
David Huttleston Jr
7941 Tree Lane Suite 200
Madison WI 53717