How to Import Data into Zope or Plone

Having followed all steps of this Plone Tutorial, you will become aware of how to import/export data into different Zope or Plone sites using QuickImporter, SSH, WinSCP, and other tools.

See our Plone Migration Tool for migrating content between two Plone websites: quintagroup.transmogrifier import/export Plone tool allows to export content from one Plone website and easily import it into another one.

The following Plone Tutorial shows how to import/export data into different Zope or Plone sites using Quick Importer tool, SSH, WinSCP, and other tools. Such method is not common, it is suitable for certain situations only.

A. Zope Hosting Instance and Plone Hosting Instance

With Zope Hosting Instance or Plone Hosting Instance you will have full control of your own Zope server instance, with personal Linux account. In this case more import/export options are available for you:

  • QuickImporter: .zexp import (usable if source instance and target instance have the same Zope products versions)
  • WinSCP: to upload data.fs or Zope/Plone products
  • Putty
  • SSH
  • Ftp: to upload photos, PDFs, mp3, and other files  into ZODB. You can't access to filesystem via FTP
  • WebDAV:  upload content,  photos, PDFs, mp3, and other files into ZODB.

B. Plone Shared Hosting and Trial Hosting

With Plone Shared Hosting you can export the entire Plone site or some folder using .zexp import/export. We have QuickImporter installed on our servers, which greatly simplifies import operations.

How to import/export whole Plone site

Suppose your site is located at http://localhost:8080/Plone. Go to site's ZMI http://localhost:8080/manage. To export local Plone site you have to select it (the Plone object) in ZMI and press Import/Export button.

plone zexp export

Don't change the id. Select Download to local machine and Click Export button. Save *.zexp file to local computer. If your site id is Plone then the filename should be Plone.zexp file.

plone zexp Export Step 2

Suppose your Quintagroup Plone site is available at: http://plone03.quintagroup.com/demoplone/www. Go to the  ZMI of your Zope root where Plone site (www) is located http://plone03.quintagroup.com/demoplone/manage. Use Quick Importer product to import you zexp file via http. Select it in the ZMI - dropdown list near add button (top right corner).

Plone quickimporter, Step 1

Browse to to select *.zexp file. Click Do Quick Import button

plone quickimporter

http://plone03.quintagroup.com/demoplone/Plone can be mapped to your domain http://mydomain.com
Now you have two Plone sites  inside http://plone03.quintagroup.com/demoplone/manage
old http://plone03.quintagroup.com/demoplone/www
and new http://plone03.quintagroup.com/demoplone/Plone

How to import/export some folders in Plone site

To carry out import/export of some site folders - follow the procedure described above.

  1. export a folder from your local Plone site to some *.zexp file. http://localhost:8080/Plone/manage
  2. import *.zexp file to your Plone site located on Quintagroup's server. http://plone03.quintagroup.com/demoplone/www/manage

Notes

There is an Import folder in the filesystem and it is accessible only through filemanager WinSCP or SSH. (Import folder in ordinary instances is located directly under data1, in instance created with buildout - it is under data1 -> parts -> instance). Plone Shared Hosting, Zope Shared Hosting, Trial Hosting have no access to filesystem and the access is not needed to import zexp files. QuickImporter adds this feature through the web.

Connect with our experts Let's talk