Forums / Developer / How to export whole ez publish content?

How to export whole ez publish content?

Author Message

viraj hoober

Friday 27 May 2011 3:26:00 am

I want to export whole ez publish 4.2 content, including linked files, images, text etc... Is it possible to do so?

I could only export class using package. Is there a way to export the whole website content?

Some help would be greatly appreciated

Jérôme Vieilledent

Friday 27 May 2011 4:49:42 am

Hi Viraj

You can export classes via the package system. About content objects, you can try with eZXMLExport.

viraj hoober

Monday 06 June 2011 3:22:32 am

Is it possible to use ezcsvexport.php and ezcsvimport.php in bin/php/ ? I followed the instructions of http://www.adn741.net/index.php/Import_export_de_contenu but didn't managed to use the ezcsvimport.php to import. Can someone please give me some explanation about the ezcsvimport parameters like class_identifier. Which one does it refer to?

Gaetano Giunta

Monday 06 June 2011 2:18:46 pm

Using csv import and export is not good enough to backup/restore eZP, I'm afarid. Some datatypes will loose some information, and a lot other things will be left out, too (eg. object states or multiple-location assignments).

The proper way to export content is, as Jerome said, via the packaging system.

Or you can do a backup of the database + a zip of var/storage and var/siteaccess/storage directories

Principal Consultant International Business
Member of the Community Project Board