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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 05:49:12
Script start
Timing: Jan 31 2025 05:49:12
Module start 'layout'
Timing: Jan 31 2025 05:49:12
Module start 'content'
Timing: Jan 31 2025 05:49:12
Module end 'content'
Timing: Jan 31 2025 05:49:12
Script end

Main resources:

Total runtime0.0230 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.2500151.2266
Module start 'layout' 0.00870.0055 739.476636.6719
Module start 'content' 0.01410.0070 776.148490.1563
Module end 'content' 0.02110.0018 866.304733.9766
Script end 0.0230  900.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.5783140.0002
Check MTime0.00125.0462140.0001
Mysql Total
Database connection0.00073.256710.0007
Mysqli_queries0.007331.689630.0024
Looping result0.00010.435510.0001
Template Total0.00125.310.0012
Template load0.00094.039510.0009
Template processing0.00031.266010.0003
Override
Cache load0.00072.900010.0007
General
dbfile0.00156.385880.0002
String conversion0.00000.051840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs