View Single Post
  #6  
Old 28th March 2011, 14:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

You can make a .tar.gz of the web site like this:
Code:
tar -pczf backup.tar.gz /path/to/web/site
This will keep all permissions and ownerships. You can then transfer the .tar.gz to the new server with scp...
Code:
scp backup.tar.gz root@srv2:/path/to/directory
(replace srv2 with the full hostname or IP of server2)

... and there you can uncompress it like this:
Code:
tar xvfz backup.tar.gz
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote