Move a c5 site from other server to the c5 server

Permalink
I have two c5 sites on other servers and want to move them to c5 and host with these guys as it would speed things up and be better.

How do i do this? do I need to manually move the files or does it happen auto or something?

thanks

 
olliephillips replied on at Permalink Reply
olliephillips
It won't be automatic, though they might be able to help you with it.

The process is fairly straightforward. Once the new hosting is up, you'll need to move the files, and databases to C5's hosting. You'll need a dump from your existing Database which you can import into the new database.

You might need to change a few bits in site.php (in the /config directory) as some hosts prefix databases with different info.

You'll also need to point the domains' at C5 hosting using DNS.

Hope that's helpful
menostar replied on at Permalink Reply
I tried moving my existing database to a new installed database and got error stating there were duplicated tables? Any advice would be great thanks
04s2lao replied on at Permalink Reply
Having just moved one of my websites between servers, I have found this works:

-Copy all the files straight across from the old host to where you want the website on the new host.
-Export the MYSQL database associated with the website on the old host (I did this in PHPMyAdmin)
-Import the MYSQL database on the new host, (PHPMyAdmin again is good for this)
-Edit the /config/site.php file to point to your new database on the new host. Potentially with new user details and server config depending on how you've setup the database.
-Point the domain to your new webhost, this is done in two parts. 1. Point your domain to your new host by changing the DNS settings to your new hosts, (FAQ is a good place to find these.) 2. Add the domain as an external domain (Addon domains in cpanel)

You may find that if you have "short URL's" enabled, this is now broken. The fast way to fix this is login to the website at /index.php/login. Disable and re-enable short URL's in the dashboard. (If it can't edit your htaccess files automatically, you may have to copy and paste the code it gives you.)

In terms of why your getting multiple tables issue, my guess is that your trying to restore a database to a pre-populated database. For example, you've put a clean install of concrete5 where you want your website, run the setup script and then are trying to import the database after that.
JohntheFish replied on at Permalink Reply
JohntheFish
You could also use Backup Voodoo to quickly make a complete zip of everything you need to clone a site.

http://www.concrete5.org/marketplace/addons/backup-voodoo/...