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.