View Single Post
  #2  
Old 24th July 2008, 17:44
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

If your new drive is mounted to your Linux pc or other server, you can do the following:

1) Login to your server via SSH with Putty.
2) Go to the directory /var/www:
cd /var/www

3) Copy the content whole content to your other pc/server containing the new drive by using the secure copy command:
scp * -r <IP-address>:/var/www/

Note: <IP-address> is the External IP-address of your destination.
Forward this external IP-address for port 22 (SSH) to the internal IP-address of your machine containing the new drive.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 7th September 2008 at 09:43.
Reply With Quote