Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-09-12, 12:51 PM   #1
cellinis
They have the Internet on computers, now?
 
Join Date: Feb 2005
Location: Paris
Posts: 146
Server Migration 101

Hi

I need to move content from couple of my dedicated boxes to a new one. Anyone has some tutorials handy for server migration?

Each server has around 10-15 domains. There are a lot of php/mysql sites as well. Mainly wordpress and a couple with Autogallery SQL and WSN Links.

Of course, the easy way would be to use FTP and then PHPMyAdmin to dump the databases. But since I have over 5 Gigs in content, and there are loads of subdomains that need to be moved, it would become quite a tiresome task! So if someone has already gone through this before, I would really appreciate the help.

Any help would be appreciated.

Regards
Pankaj
__________________
Submit your freesites & galleries here and here.
cellinis is offline   Reply With Quote
Old 2005-09-12, 01:00 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
I always get my host to do it for me, but rsync is your friend.

SSH into your new server

rsync -avCp --exclude "Foo" USERNAME@OLDSERVER.com:/PATH/TO/OLD/STUFF /PATH/TO/NEW/STUFF

Enter your password to the old server when prompted
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2005-09-12, 09:30 PM   #3
SinSational
Shut up brain, or I'll stab you with a Q-tip!
 
SinSational's Avatar
 
Join Date: Jan 2005
Location: Boston, MA
Posts: 119
Send a message via ICQ to SinSational Send a message via AIM to SinSational
rsync
Basically you can push data from your old server to your new server. your host should do this for you.


sample code:
login to old server and run this command
rsync -zave ssh /usr/local/apache/sites root@domain.com:/usr/local/apache

the above command would push the /sites directory from your old server to the /apache directory on your new server.
SinSational is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:12 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc