Skip to main content

zopyx.plone.migration

Export/import migration script for Plone 2/3 sites to Plone 4

The purpose of this package is to provide scripts to export AT-based content into a more generic format that can be used by an importer script for re-import into a Plone 4 site.

Installation

Add the following to your buildout:

[buildout]
parts =
    exportimport


[exportimport]
recipe = zc.recipe.egg:scripts
eggs = zopyx.plone.migration

Export of a Plone site

Prequisites: your Plone site/server must be stopped or you must be running Plone through ZEO.

The exporter will export the following items from a Plone site:

  • members (member name, member password, global member roles)

  • groups (group name, group members, global group roles)

  • structure of the site (folder structure including local roles and review state)

  • all Archetypes-based content with all metadata of a content item that has been defined through an Archetype schema (plus some extra data like review state, local roles, related items)

Usage:

bin/instance run bin/exporter.py --path /path/to/<plone_id> --output <directory>

The exporter will create a self-contained directory with the exported data unter <directory>/<plone_id>. The directory contains two INI files contents.ini and structure.ini that describe the hierarchy structure of the exported site and exported contents.

The metadata and real content of each object is stored within the content subfolder. This directory will contain on file per exported content object. The filename is determined by the original UID of the content object. For binary files like File or Image there is a <uid>.bin file which will contain the original binary data. The files (except the .bin files) are serialized using Python’s Pickle mechanism in order to avoid serialization issues and to preserve the data as is.

In addition the exporter cares out the export of members and groups (members.ini, groups.ini)

Note that the bin/exporter script is not directly callable. It must always be run using the bin/instance run somescript.py mechanism of the Plone startup script - always!

The export has been tested against Plone 2.5 and Plone 3.3.

Importing to a new Plone site

To be written

Licence

This package is licenced under the Zope Public Licence V 2.1 (ZPL 2.1)

Author

ZOPYX Limited Andreas Jung Hundskapfklinge 33 D-72074 Tübingen, Germany www.zopyx.com info@zopyx.com

Written for Veit Schiele Communications GmbH (www.veit-schiele.de)

Changes

0.1.0 (18.12.2012)

  • initial release

Metadata

Release files for zopyx.plone.migration 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zopyx.plone.migration 0.1.2
File Size Uploaded Provenance Actions
zopyx.plone.migration-0.1.2.zip 16.2 kB Without provenance Details for zopyx.plone.migration-0.1.2.zip

Release files / zopyx.plone.migration-0.1.2.zip

Download URL zopyx.plone.migration-0.1.2.zip
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d4d7d11e046f2984b645e1b23bc3ddaeae0c8e9c2aa2673a2ef937a89b7e22cc
BLAKE2b-256 checksum
How to use checksums
7be181b0b656061ac09dc2fc74db82ebf800dce368d7a4f6704ac12baebc4b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zopyx.plone.migration 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page