Page 1 of 1

[solved] copy 1.6.5 from webserver to local

Posted: Mon Feb 04, 2013 6:07 pm
by monty8
Hi all

Please could you advise the best process for copying our CMS Made Simple from our webserver hosted with webfusion (only ftp access) to a local VM for testing purposes.

We have mySQL Dump and FileBackup Modules installed on the webfusion live website.

I have a centos box with php,mysql and apache installed what next?

Re: copy 1.6.5 from webfusion webserver to linux local vm

Posted: Mon Feb 04, 2013 7:35 pm
by Dr.CSS
You may want to read this...

http://docs.cmsmadesimple.org/moving

I would upgrade to the latest before trying to move it as we only support the 2 latest versions of CMSMS...

Re: copy 1.6.5 from webfusion webserver to linux local vm

Posted: Mon Feb 04, 2013 7:43 pm
by monty8
Hi

I have ftp'd to the webserver and copied all the directories from the public_html folder and logged in to phpmyadmin performed an export of the database.

I have apache, mysql and php installed on my new VM and logging into phpmyadmin. I am assuming I can:

Import the mysql dump from webserver
copy files from ftp site except tmp folder!
set the permissions and away i go?

or do i need CMS made simple installed on my linux server before proceeding?

Is there a cleared process to follow?

Re: copy 1.6.5 from webfusion webserver to linux local vm

Posted: Mon Feb 04, 2013 7:53 pm
by Dr.CSS
Most times it's...

Backup Folders/files and DB
Import DB into new DB on news server
Import folders/files
Change config.php to use new DB and change all paths in config.php or...

Upload install folder from same version on server and run site.com/install BUT ON STEP 5 DO NOT CREATE TABLES NOR INSTALL DEFAULT CONTENT this will hook it up to the new (imported existing DB) DB and fix any path problems...

Re: copy 1.6.5 from webfusion webserver to linux local vm

Posted: Mon Feb 04, 2013 8:00 pm
by monty8
do i need to clear the cache before taking the backup?