Page 1 of 1

Changing hosts, need to export CMSMS

Posted: Wed Nov 02, 2005 9:58 pm
by KnightWolfJK
I'm sure this has been asked & answered, but I've searched through the forum and peeked at the docs. Sorry for the redundancy.

I just got setup with a new webhost and want to move everything from OldHost to NewHost.  Is it just a SQL Export and then Import into a new installation?

Also, it might not make a difference, but the path on the server will be changing.  I had CMSMS setup at www.oldhost.com/cms (for testing), and now I'm setting it up at www.newhost.com.

Thanks for the help,
~JK

Re: Changing hosts, need to export CMSMS

Posted: Wed Nov 02, 2005 11:19 pm
by calguy1000
I would follow this procedure (off of the top of my head)
  • do an sqldump of the entire cmsms database into a file inside your cms directory
  • do a tar zcvf backup.tar.gz cms
  • transfer backup.tar.gz to the new directory
  • tar zxvf backup.tar.gz
  • create the database on the new host and set the access to it
  • mysql -p < sqlfile
  • edit the config.php file as appropriate.

Re: Changing hosts, need to export CMSMS

Posted: Thu Nov 10, 2005 9:05 pm
by KnightWolfJK
Okay, thanks all. I do have shell access, and I'm about to give it a shot.