[Zope] merge two ZODB

smoerk@gmx.de smoerk@gmx.de
Mon, 12 Aug 2002 19:04:47 +0200 (MEST)


I didn't try MpuntedStorage, because it requires ZEO. MountedFileStorage
doesn't work with my Zope 2.5.1. I get the following error:

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: You can only provide an id when creating!
Error Value: None

<!--
Traceback (innermost last):
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 150, in
publish_module
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /usr/lib/zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: manage_addMountedFileStorage)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 39, in
call_object
    (Object: manage_addMountedFileStorage)
  File
/usr/lib/zope/lib/python/Products/MountedFileStorage/MountedFileStorage.py, line 27, in manage_addMountedFileStorage
  File
/usr/lib/zope/lib/python/Products/MountedFileStorage/MountedFileStorage.py, line 57, in __init__
    (Object: )
You can only provide an id when creating!: (see above)

-->



> Check the MountedStorage or MountedFileStorage products (on zope.org).

> ----- Original Message -----
> From: <smoerk@gmx.de>
> To: <zope@zope.org>
> Sent: Monday, August 12, 2002 16:47
> Subject: [Zope] merge two ZODB
> 
> 
> > Hello,
> >
> > I want to merge two Zope instances with different Data.fs to one. First
> > thing I tried was Export and Import the objects from one instance to the
> other.
> > Problem: the dates and undo information are not preserved.
> >
> > Is it possible to "mount" two Data.fs and copy from one Data.fs to the
> > other? Or how could I preserve undo and the modify date of the objects?

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net