My Server Died , Need to move site to hosting

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

My Server Died , Need to move site to hosting

Post by TJINAK »

Thanks for reading.

I'm running a Debian server and cmsms 1.05. 

The server encountered hardware problems that I can't fix now.  Thinking its linux I tried to move the hard drive to a another pc but no joy, it won't boot.

So, I thought I would copy the files from my cmsms install up to a web host but I don't have a copy of the mysql db to move to the host.  I'm thinking I'm going to have to do a clean install and then migirate my files?

I'm really not sure of the best method considering I don't have my database availible for move.

Thank you for any help or suggestions.

Tim
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: My Server Died , Need to move site to hosting

Post by calguy1000 »


Best solution would be to restore the files from backup directly to your host. :)


That aside, if you don't have your mysql database backed up, or access to it, you're kinda pooched.  As all of your content, your templates, stylesheets, news articles, etc, etc, etc. are there.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
lanesharon

Re: My Server Died , Need to move site to hosting

Post by lanesharon »

If you have cpanel at the host and phpmyadmin, you might be able to create file formats that are compatible.  If you do have cpanel and phpmyadmin, then tell me what format your files are now on your server drive and I will try to answer this.
jchaos

Re: My Server Died , Need to move site to hosting

Post by jchaos »

can you grab the mysql database files and move them into an accessible location?  i recently had an issue resulting in total loss of access to my server (RHE4) thru any means beyond http & shell.  i backed up all the mysql data and imported it into a local testing server. i was able to recover all my databases at that point.  if you some form of access to the disk, just grab the db files and you should be fine.  I'm assuming you have a means of local access to the disk, if not, can you have it installed in a box that boots and access the files that way? 

hope you work it out.

jc
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: My Server Died , Need to move site to hosting

Post by TJINAK »

I do have acess to the hard drive.  But I'm not sure what files I need to copy over to my working server.  I had at least 10 db's running on my box that died.

Thanks for the replies, I'll be watching the thread.

Tim
jchaos

Re: My Server Died , Need to move site to hosting

Post by jchaos »

mysql data should contain all your databases. for starters, look in the mysql data directory and you should see the names of the folders matching up with your account(s).  copy everything in this directory.  if you can setup a localhost thats not to important, you should just dump all the folders into it.  (mysql/data/) then you can see what you have, and move the databases you want onto the new box.  i suggest you use phpmyadmin locally to export the DBs to avoid conflicts if your using different mysql versions.  i would guess that using local install and myphpadmin isnt really necessary, but always better to look at the output before trying to take it live. 

you may also have system databases, you may not want to transfer these if they already exist.

... jc
Post Reply

Return to “CMSMS Core”