copy EZ data from instance -> instance?

Author Message

Manu Gupta

Tuesday 25 November 2003 11:48:44 pm

is there a way to:
1) copy the data from one EZ instance and upload to another EZ instance?
2) copy setup from one EZ instance to another?

this is useful for backup, or when i test work on my desktop before implementing to hosting server.

thanks!
manu

Marco Zinn

Wednesday 26 November 2003 3:35:05 pm

Both is possible.
If all goes fine, just dump your database (using mysqldump or phpMyAdmin's "export") to a textfile, upload your complete installation (especially design, settings and var directories) from your local system to the servers, import your database dump, change your DB settings and you should be online.
If you can make sure, that nobody writes to your database, you should even be able to copy the MySQL-DB per filesystem "copy", but this is not advisable.
We use this to backup our system from one server to another every night.

Marco
http://www.hyperroad-design.com

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 21:14:24
Script start
Timing: Jan 18 2025 21:14:24
Module start 'layout'
Timing: Jan 18 2025 21:14:24
Module start 'content'
Timing: Jan 18 2025 21:14:25
Module end 'content'
Timing: Jan 18 2025 21:14:25
Script end

Main resources:

Total runtime0.9714 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0391152.6406
Module start 'layout' 0.00570.0029 740.679739.4766
Module start 'content' 0.00860.9604 780.1563523.3203
Module end 'content' 0.96900.0023 1,303.47668.1406
Script end 0.9713  1,311.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4084160.0002
Check MTime0.00140.1436160.0001
Mysql Total
Database connection0.00110.116310.0011
Mysqli_queries0.919094.6104540.0170
Looping result0.00060.0663520.0000
Template Total0.935196.320.4675
Template load0.00320.330920.0016
Template processing0.931895.926920.4659
Template load and register function0.00020.018610.0002
states
state_id_array0.00100.104010.0010
state_identifier_array0.00230.239120.0012
Override
Cache load0.00260.2717150.0002
Sytem overhead
Fetch class attribute can translate value0.00080.082920.0004
Fetch class attribute name0.00100.102630.0003
XML
Image XML parsing0.00210.214020.0010
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00100.1075160.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs