wiki:MigratingToPlumi3

Version 2 (modified by vik, 4 years ago) (diff)

--

Migrating content from plumi 0.2.3 to Plumi 3.0

BACK UP YOUR SYSTEM FIRST!

Setup on plumi 0.2.3 (for export)

Setup on plumi 3.0 (for import)

  • run the buildout for plumi 3.0; plumi.migration and json_migrator should be automatically downloaded
  • start zope
  • go to the ZMI, create a plone site
  • Install plumi.migration into Plone via the Control Panel

Export Members (from old site)

  • go to the ZMI for the site
  • go to exportMembers
  • click 'Test', then save the file somewhere

Import Members (into new site)

  • go to the Control Panel for the site
  • In 'Add-on Product Configuration, choose 'Plumi Member Migration'
  • Choose the file created from the export, doing a dry run first if desired.

Export Content (from old site)

  • Go to the ZMI for the site
  • Go to the portal_json_migrator tool
  • Set a target folder, and click 'Save Changes'
  • Click on the 'Plumi Export' tab.
  • The data will be exported to the folder on the server.

Import Content (to new site)

  • go to the Control Panel for the site
  • In 'Add-on Product Configuration, choose 'Plumi Content Migration'
  • Enter the folder that content was exported to on the server (in the above step)
  • The actual video data folder (/path/to/plone/var/files/Members) will need to be copied or symlinked to the folder entered above. So if your videos in your 0.2.3 instance live in /opt/plone/var/files/Members, and you exported your data to /opt/export, then /opt/export/Members will need to be linked to (or a copy) of /opt/plone/var/files/Members
  • Click 'import content'