Page 1 of 1

copy from staging to production

Posted: Mon Jun 08, 2009 6:18 am
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

Re: copy from staging to production

Posted: Mon Jun 08, 2009 7:46 am
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.