Web Hosting Talk







View Full Version : Please help: how to move interchange shop to another server


nogi
12-08-2002, 07:29 PM
Does anybody know how to move an interchange shop from one server to another using SSH - what are the steps involved - I only know very few basic SSH commands so any help is gratefully received. The shop is nearly a years worth of work for my client.

Thanks
John

bitserve
12-11-2002, 05:17 PM
ssh username@server

That is the only ssh command that you should need.

nogi
12-11-2002, 07:08 PM
I did move it successfully using the backup/restore function in the CPanel, but thanks for responding :) -

As for your suggestion should I log in at the source server, cd into the interchange catalog, and type ssh username@serverthat from the prompt? Is it the username at the destination server and can the servers IP be used for serverthat or should it be the servers host name. Sorry, but I'm a newbee as regards to ssh.

John

StevenG
12-11-2002, 10:40 PM
If you login to the source server via ssh, then issue this command;

scp -r /directory user@123.123.123.123:/home/user

Change destination path to suit.

That will copy the directory and all of its contents to your new server for you.

You may need to run /scripts/fixinterchange (if you can) in order to get it running again though. :)
CPanel copy works really well as you have seen :D