Page 1 of 1

My Server Died , Need to move site to hosting

Posted: Tue Apr 24, 2007 5:41 pm
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

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

Posted: Tue Apr 24, 2007 6:19 pm
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.

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

Posted: Thu Apr 26, 2007 3:53 pm
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.

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

Posted: Thu Apr 26, 2007 5:59 pm
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

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

Posted: Thu Apr 26, 2007 6:12 pm
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

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

Posted: Fri Apr 27, 2007 12:06 am
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