-----BEGIN PGP SIGNED MESSAGE-----
Andreas Jung wrote:
> Hi there,
> we have some huge ZODB file storage (60-80 GB each) and we want
> to split the storage into a number of smaller storage (easier
> to handle for backup and packing). The storages themselves only
> contain a few (Zope 2) folders - let's say folders A, B, C -
> within the root and we want to create seperate storages for A, B, C.
> Is there some easier approach than using the Zope 2 CopyManager API
> for moving data around. The ZODB storage iterator API comes to my mind...
> is this a suitable approach or is there some other light-weight approach
> (compared to using CopyManager API)?
Why move any data between ZODBs at all? In this situation I would try
- create a new empty ZODB. This one holds the root.
- copy the old Data.fs into three new storage server buildouts. Attach
to each with a ZEO client and delete the folders you do not need in that
particular storage in the ZMI or via zopectl debug.
- pack each storage so the deleted data gets trashed and the files shrink.
- mount the "folder" storages into the new empty root using mount
points on the clients that will use the storages.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
-----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -