Migrating From beta to live
Permalink
Maybe this has been posted already. Basically we've setup a site. We've setup all the content from withing a beta directory (on a different domain akawww.www.ourcompany.com/cmsbeta)... and migrating it to its own domain (www.finaldomain.com).
I've imported the mySQL database from the old site (ourcompany.com). I uploaded all our 'local' files which doesn't include the modified installed files.
So my question is this:
What is the best way to migrate a site from a test domain to its 'live' domain? Should I download all the files from ourcompany.com and re import the database?
OR
Should I do a 'fresh' install by uploading the local files (which haven't been effected by the install script) and then import the existing data?
A import/export tool is needed for concrete :(
I've imported the mySQL database from the old site (ourcompany.com). I uploaded all our 'local' files which doesn't include the modified installed files.
So my question is this:
What is the best way to migrate a site from a test domain to its 'live' domain? Should I download all the files from ourcompany.com and re import the database?
OR
Should I do a 'fresh' install by uploading the local files (which haven't been effected by the install script) and then import the existing data?
A import/export tool is needed for concrete :(
I'm more concerned 'repopulating' the database from a different concrete site.
Or if the content could have a
<img src="{WEB_PATH}/images/example.jpg" />
in the editor
<img src="{WEB_PATH}/images/example.jpg" />
in the editor
Okay, I've migrated a site Heres the steps I took:
1) Backup the mysql Database & files from the development server
2) Setup a new database
3) Uploaded a fresh install of concrete 5
4) Run the Install
5) Empty the new database and import the old
6) Change the passwords ('forgot password')
7) Uploaded the files/ directory (for images)
8) Re-apply our theme
It seems to be working... but I'm still getting php errors of missing functions and auto-number overwrites when I edit pages.
Is there a migration thread anywhere? It seems kind unpractical that you can't easily move from server to server.
Also, I didn't realize that if you add images through the 'add image' (rather than just hard coding the image) will allow for easy migration. That is what I was looking for :)
1) Backup the mysql Database & files from the development server
2) Setup a new database
3) Uploaded a fresh install of concrete 5
4) Run the Install
5) Empty the new database and import the old
6) Change the passwords ('forgot password')
7) Uploaded the files/ directory (for images)
8) Re-apply our theme
It seems to be working... but I'm still getting php errors of missing functions and auto-number overwrites when I edit pages.
Is there a migration thread anywhere? It seems kind unpractical that you can't easily move from server to server.
Also, I didn't realize that if you add images through the 'add image' (rather than just hard coding the image) will allow for easy migration. That is what I was looking for :)
Just so you know i wrote up the "suggested" way to move a site here,
http://www.concrete5.org/help/building_with_concrete5/installation/...
when doing it your way if 1 specific line of code is different it could srew your site over, i may work on an addon for mysql migration based on davidMIRV's addon
http://www.concrete5.org/help/building_with_concrete5/installation/...
when doing it your way if 1 specific line of code is different it could srew your site over, i may work on an addon for mysql migration based on davidMIRV's addon
Hi,
Thanks thats exactly what I was looking for. Couldn't find it in that section (I tried the search first).
The method I described ended up working ok. The errors I got were user errors.
Things like forgetting to select the theme and only selecting a page style (then clicking 'ok' or whatever)
Thanks Again!
Thanks thats exactly what I was looking for. Couldn't find it in that section (I tried the search first).
The method I described ended up working ok. The errors I got were user errors.
Things like forgetting to select the theme and only selecting a page style (then clicking 'ok' or whatever)
Thanks Again!
>the local files (which haven't been effected
>by the install script) and then import the
>existing data?
this is bast.
concrete5 was genarate 'PASSWORD_SALT' at install.
/config/site.php