Forums / Install & configuration / Need help with environment refresh and ez upgrade

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.

eZ debug

Timing: Jan 19 2025 01:11:14
Script start
Timing: Jan 19 2025 01:11:14
Module start 'content'
Timing: Jan 19 2025 01:11:14
Module end 'content'
Timing: Jan 19 2025 01:11:15
Script end

Main resources:

Total runtime1.0936 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 590.4766180.8047
Module start 'content' 0.00880.8974 771.2813541.6250
Module end 'content' 0.90620.1873 1,312.9063332.7188
Script end 1.0936  1,645.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.4020210.0002
Check MTime0.00150.1386210.0001
Mysql Total
Database connection0.00180.161910.0018
Mysqli_queries0.996091.07591940.0051
Looping result0.00250.22781920.0000
Template Total1.063597.220.5317
Template load0.00170.159220.0009
Template processing1.061797.080320.5309
Template load and register function0.00020.019210.0002
states
state_id_array0.00100.092210.0010
state_identifier_array0.00080.071020.0004
Override
Cache load0.00140.1314270.0001
Sytem overhead
Fetch class attribute can translate value0.00250.225330.0008
Fetch class attribute name0.00250.227740.0006
XML
Image XML parsing0.00090.080430.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.01881.7196270.0007
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0012 secs