[Suns-at-Home] SunOs - Disk clone
Lewis, Ben (Ben)
blewis3@alcatel-lucent.com
Mon, 23 Jun 2008 13:31:16 +0200
> My question is can I somehow copy the entire disk so that in the event
of the disk drive failing I can rebuild the system.
Hi Martin=20
Something like "dd over netcat" might help if they're both wired for
TCP/IP.
More info here :-
http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html
<block quote>
This will do a basic copy of files from one system to another. Now, as I
mentioned above, devices in *nix are files. So we are going to use this
same principle to copy the contents of 1 hard drive one a machine to
another, except instead of redirecting the standard inputs/outputs, we
will pipe them to/from DD. To do so I would run the following commands:
On the target system I would run:
nc -l -p 7000 | dd of=3D/dev/hda
On the source system I would run:
dd if=3D/dev/hda | nc 192.168.1.120 7000 -q 10
</block quote>
Best regards
Ben
Ben Lewis
Alcatel-Lucent Professional Services
OSS/BSS RSC Benelux
Copernicuslaan 50, 2018=20
Antwerp Belgium
+32 3 2409413
blewis3@alcatel-lucent.com