Need help with environment refresh and ez upgrade

Author Message

aarif ahmed

Sunday 15 February 2004 2:53:40 am

I am looking for some help/ document to refresh my test env with dev. I have ez 3.3.2 installed on redhat and mysql. dev has more content uploaded to it. i exported db and imported into test db, copied over var, design and settings dir to test and changed every occurence of dev1 (source) to test (destination) but i m not able to display the url. either it can not establish connection to db or wont display any page at all.
can someone please me point me to a doc which has all the instructions for achieving this task. Also I m intersted in learning what files I need to backup besides db to have a full back up of my content and settings.
Also how to upgrade to newer version of ez without losing the content>
Appreciate your help with these questions.

Marco Zinn

Sunday 15 February 2004 5:46:35 am

I don't, know, if i understood you correctly.
You have a development site (not in production) running 3.3-2 and want to update this to 3.3-3 with all data?
In that case, i suggest, that you just download and extract the new distribution (overwriting all PHP files etc) and run the DB upgrade script from 3.3-2 to 3.3-3

More info here: (2 sub-chapters, one has duplicate text)
http://ez.no/ez_publish/documentation/configuration/backup_restore

For BACKUP, i suggest, that you store the complete ezRoot-directory recursivly (usually .../htdocs/<ezdir>) and the Database you use. As soon as you use ezPublish a lot, your data (in var/storage) will be larger then those PHP files ;)
What you NEED to save is
/design/*
/var/storage/* or /var/<siteaccessname>/storage/*
/settings/override/*
/settings/siteaccess/*
and of course, your Database.

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

aarif ahmed

Sunday 15 February 2004 3:14:24 pm

Thank you Marco ! I 'll try your suggestion.
To clarify, I have two taks.
1, refresh one environment with another
2, upgrade environment with newer ez version.
Hopefully i should be able to do both with your link and advice.

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 19 2025 04:40:47
Script start
Timing: Jan 19 2025 04:40:47
Module start 'layout'
Timing: Jan 19 2025 04:40:47
Module start 'content'
Timing: Jan 19 2025 04:40:47
Module end 'content'
Timing: Jan 19 2025 04:40:47
Script end

Main resources:

Total runtime0.7148 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.4063152.6563
Module start 'layout' 0.00670.0048 742.062539.5078
Module start 'content' 0.01150.7017 781.5703536.5156
Module end 'content' 0.71320.0016 1,318.085912.1094
Script end 0.7148  1,330.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5376160.0002
Check MTime0.00180.2548160.0001
Mysql Total
Database connection0.00070.103110.0007
Mysqli_queries0.664092.8936570.0116
Looping result0.00050.0737550.0000
Template Total0.679795.120.3399
Template load0.00230.321620.0011
Template processing0.677494.771520.3387
Template load and register function0.00030.035110.0003
states
state_id_array0.00090.127910.0009
state_identifier_array0.00080.106320.0004
Override
Cache load0.00190.2695270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.092220.0003
Fetch class attribute name0.00300.418040.0007
XML
Image XML parsing0.00060.090120.0003
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00100.1394160.0001
String conversion0.00000.001440.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs