View Single Post
  #3  
Old 26th July 2008, 01:11
awd.pt awd.pt is offline
Member
 
Join Date: Apr 2006
Location: Ericeira/Porugal
Posts: 57
Thanks: 9
Thanked 3 Times in 2 Posts
Send a message via MSN to awd.pt
Default

Hi,

I would tar the directory to somewhere with enouth space and the scp to my home server/disk and untar.

This way you would not loose the permissions/ownerships of the files/directories.

Assuming free space at ~root
tar pzcf ~root/www.tgz /var/www
scp ~root/www.tgz <myhomeuser>@<myhomeip>:
exit
cd <myhmeservernewdisk>
tar zxf ~<myhomeuser>/www.tgz

This way you'll only need, after, to unmount the disk and take it to the data centre.

Good luck.
SÚrgio Rosa
Reply With Quote