copy from staging to production

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
wwwillem
Forum Members
Forum Members
Posts: 17
Joined: Sun Jan 06, 2008 8:16 pm

copy from staging to production

Post by wwwillem »

I've a two year old version of CMSMS running in production. The site needed a redesign, which is the right timing to upgrade CMSMS as well. So, on a staging server I did a fresh install of v1.5.X and (re)built my site on that one.

Now to move this all to production, the docs say I have to copy the new tree over the old files and run upgrade.php.

But because I've this completely configured staging environment, I thought of a different approach:

= make the various backups
= drop all tables of the old database in production
= take a PhpMyAdmin backup of my staging database and import that in my (empty) production database
= remove all files/folders on production
= copy over the complete CMSMS tree from staging to production
= edit on production my config.php so that it has the correct database name and db login uid/pwd

Does this make sense? Am I overlooking something?

When people talk about "clearing the cache", does that refer to deleting all files in /tmp/cache/* ?

Thanks, Willem
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: copy from staging to production

Post by Jeff »

Sounds good. To clear the cache just go to global setting in the admin panel and there should be a button to Clear Cache.
Locked

Return to “[locked] Installation, Setup and Upgrade”