[Nottingham] HDD cloning via LAN

Simon Huggins huggie at earth.li
Tue Apr 27 16:53:41 BST 2004


Hi Martin,

On Tue, Apr 27, 2004 at 04:32:27PM +0100, Martin wrote:
> Given two laptops, what is the best way to clone the hdd from one onto 
> the other using their LAN connections?

> That is, what mini-distro or utility is there to do:
> dd if=ip-of-laptop1/dev/hda of=ip-of-laptop2/dev/hda

You could hack something twisted up with nc.  It all sounds really
dodgy though.

Are you sure you wouldn't rather use tar?

(cd / && tar cf - .) | ssh laptop2 "(cd / && tar xf -)"



-- 
----------(  Think of me as CVS with a brain and with some   )----------
Simon ----(             taste. - Linus Torvalds              )---- Nomis
                             Htag.pl 0.0.22



More information about the Nottingham mailing list