Disk clone between two systems using DD & Netcat

Boot both machines using a Live CD i.e. Ubuntu 8.10.Make sure you have network access on both machines

On the target system I would run:
nc –l –p 10000 | dd of=/dev/hda

On the source system I would run:
dd if=/dev/hda | nc my.ip.address.com 10000 –q 10

Below is an example of imageing a HS21 Blade

root@ubuntu:~# dd if=/dev/sda | nc 10000 -q 10
143374000+0 records in
143374000+0 records out
73407488000 bytes (73 GB) copied, 11507.3 seconds, 6.4 MB/s

Leave a Reply

Your email address will not be published.