RE: SunOs - Disk clone
"Lewis, Ben \(Ben\)" <[email protected]>
| Newsgroups | gmane.os.solaris.at-home |
|---|---|
| Message-ID | <[email protected]> |
> 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 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=/dev/hda On the source system I would run: dd if=/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 Antwerp Belgium +32 3 2409413 [email protected]