my way to move a site
Permalink 2 users found helpful
I read the instructions on how to move a c5 install herehttp://www.concrete5.org/documentation/installation/moving_a_site...
this was only partially helpful.
I moved a site twice to 2 different hosts using these steps.
the short version....
first do db backup from within the c5 admin
1. disable cache, clear cache, then copy your entire folder structure (public_html folder) of the old server and save it.
2. setup c5 on new server
3. copy /config/site.php file to your computer (from new c5 install)
4. upload all files from step 1 over top of new server files.
5. upload site.php file from step 3 again (has correct database settings)
6. login to c5 admin, do a restore (this will update the database so you don't have to do crappy phpmyadmin stuff).
7. run system maintenance jobs.
thats it! it worked out fine twice for me.
I will say that I did not download the entire site via ftp. instead i did some linux stuff, and zipped the public_html folder, then saved it onto the site where I could access it from the web. Then from the new site I did a wget to download it (host to host downloads are fast), then renamed public_html, and unzipped package. (be aware unzip may unload it into a weird spot, tarball may be easier).
this was only partially helpful.
I moved a site twice to 2 different hosts using these steps.
the short version....
first do db backup from within the c5 admin
1. disable cache, clear cache, then copy your entire folder structure (public_html folder) of the old server and save it.
2. setup c5 on new server
3. copy /config/site.php file to your computer (from new c5 install)
4. upload all files from step 1 over top of new server files.
5. upload site.php file from step 3 again (has correct database settings)
6. login to c5 admin, do a restore (this will update the database so you don't have to do crappy phpmyadmin stuff).
7. run system maintenance jobs.
thats it! it worked out fine twice for me.
I will say that I did not download the entire site via ftp. instead i did some linux stuff, and zipped the public_html folder, then saved it onto the site where I could access it from the web. Then from the new site I did a wget to download it (host to host downloads are fast), then renamed public_html, and unzipped package. (be aware unzip may unload it into a weird spot, tarball may be easier).
That's pretty clever with the host to host transfer, I'll have to try that sometime.
Glad you found something that works with moving your site.
Also I love zipping up the directories (saves so much time)
-Thomas
--
c5bundle - Launches Jan. 1/2011
Check it out here:http://c5bundle.net
Also I love zipping up the directories (saves so much time)
-Thomas
--
c5bundle - Launches Jan. 1/2011
Check it out here:http://c5bundle.net
I want to add one note that will hopefully save someone lots of time...
I was moving a site from one package to another on the same host (1and1). My sites are in Cyrillic (Russian, Ukrainian, etc). Everything was set properly for UTF-8 on the DB and PHP end, but I could NOT add new Russian content, it would be turned into garbage ('??? ??????? ?????').
Running this in phpMyAdmin for the DB solved the problem:
Replace 'concrete_db' with the name of your DB.
I was moving a site from one package to another on the same host (1and1). My sites are in Cyrillic (Russian, Ukrainian, etc). Everything was set properly for UTF-8 on the DB and PHP end, but I could NOT add new Russian content, it would be turned into garbage ('??? ??????? ?????').
Running this in phpMyAdmin for the DB solved the problem:
ALTER DATABASE concrete_db DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
Replace 'concrete_db' with the name of your DB.
it worked very well for me, thank you very much.