Forum Moderators: phranque

Message Too Old, No Replies

moving day, best practices

best way to move from a shared host?

         

bofe

2:08 am on May 17, 2005 (gmt 0)

10+ Year Member



I've got a couple of domains that I'm wanting to move over from one host to another.

What's the most efficient ways you've found to do this?

note: I have one that has an install of MT, so I know to backup the database.

What's the best way to move all the files between sites?

Thanks in Advance.

crashomon

2:25 am on May 17, 2005 (gmt 0)

10+ Year Member



FTP all files to your local machine and then FTP them to the new site. That's what I've done for all my static sites. If you have databases, you'll need to replicate the tables, etc on the new server first and then 'plug in' the web content and test.

I may be missing something here, but its not been all that difficult for me.

good luck.

Patrick

rlkanter

5:40 am on May 17, 2005 (gmt 0)

10+ Year Member



Assuming you have access to the new server before hand, I'd copy it over as quickly as you can, and then sync up any changes made right before you go live.

If they're both *nix I'd go with rsync. You could do it with something as simple as the following from the new server:

rsync -vazu -e ssh username@oldhost:/yourpathonoldserver/ /yourpathonnewserver/

For db's, you can mysqldump them, and then import them. I'd recommend testing this a couple days before it goes live. You might run into some weird problems if the versions don't match between the old and new server.

Also check any scripts you have for the same problems. I've been caught with slightly different version numbers, or ini files causing massive php / mysql problems. You can fix them, but it'll take a bit of time to narrow it down.

Good luck :)