rsync clone - ubuntu failure

Smoot Carl-Mitchell smoot at tic.com
Wed Jul 11 02:13:31 UTC 2007


On Mon, 2007-07-09 at 17:03 +0200, Lea Gris wrote:

> tar cf - /olddisk | ( cd /newdisk; tar xfp -)
> 
> If you need to copy files across local disks, this is much faster than 
> using cp and mun much faster and less CPU hungry than rsync. Rsync is 
> nice across network or where partial content has to be updated at the 
> remote side.

The above does not handle devices, nor named pipes.  There are GNU tar
options which will do those correctly -- check the manual page. I find
rsync useful for copying even local file trees. One advantage of rsync
is it is restartable if it is interrupted for some reason.
-- 
Smoot Carl-Mitchell
System/Network Architect
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313




More information about the ubuntu-users mailing list