[H-GEN] Copying/Moving data between Linux boxes
David Jericho
davidj at tucanatech.com
Tue Apr 13 23:55:20 EDT 2004
Willie Yeo wrote:
> Can anyone tell me what is the best way to move my data from one
> Linux box to another Linux box ?
> I need it to be able to retain the ownership/permissions between the
> two boxes across the ethernet :(
Between boxes that have are Unix alike, you'd be hard pressed to beat rsync.
It can tunnel across ssh as well, the syntax is quite simple.
rsync -e ssh -avcP <source> <host>:<dest path>
-e ssh
means use ssh as the remote shell protocol
-a
means archive, recursively keeping everything the same as it is on the
original file system
-v
means verbose
-c
means do block checksums and all. Nice if the transfer fails half way
through, and it'll fix any corruption, sending only deltas.
-P
means show progress, and allow partial transfers
Check the man page for more information.
--
David Jericho
Senior Systems Administrator, Tucana Technologies
More information about the General
mailing list