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 18 2025 02:48:55
Script start
Timing: Jan 18 2025 02:48:55
Module start 'layout'
Timing: Jan 18 2025 02:48:55
Module start 'content'
Timing: Jan 18 2025 02:48:56
Module end 'content'
Timing: Jan 18 2025 02:48:56
Script end

Main resources:

Total runtime1.2895 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 592.8203152.6406
Module start 'layout' 0.00880.0046 745.460939.4688
Module start 'content' 0.01341.2746 784.9297588.8203
Module end 'content' 1.28800.0015 1,373.750012.1563
Script end 1.2895  1,385.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2825160.0002
Check MTime0.00140.1124160.0001
Mysql Total
Database connection0.00110.087210.0011
Mysqli_queries1.239896.1484640.0194
Looping result0.00050.0425620.0000
Template Total1.247596.720.6237
Template load0.00210.165320.0011
Template processing1.245396.573620.6227
Template load and register function0.00020.012210.0002
states
state_id_array0.00070.057910.0007
state_identifier_array0.00220.174320.0011
Override
Cache load0.00170.1310190.0001
Sytem overhead
Fetch class attribute can translate value0.00040.034730.0001
Fetch class attribute name0.00080.065360.0001
XML
Image XML parsing0.00090.073530.0003
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00130.1043230.0001
String conversion0.00010.004040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs