Better life with technology

Remote system cloning

Once again a tip from the Linux Admin tricks.
In this case it was about a complete system to another clone. If the two identical systems, which is relatively easy with dd and ssh easy.

For this, I have both systems with a Linux bootable CD (eg sysrescuecd) booted and the network will be configured.

Then you are simply on the source system:
source ~ # dd if = / dev / sda | ssh root @ target-system “dd of = / dev / sda”

and one waits until the process is complete. Those who still want to make a display status of the copying process:
target ~ # kill-USR1 $ (pgrep ‘^ dd $’)

-The output is placed on the console from the source system.

After the copy operation should be to mount the system and adjust the network, and host name yet, otherwise there is then an IP address conflict on the network.

Note: The fact that all works should both systems (at least the discs) to be relatively identical – and of course the data will be on the target system is permanently lost.
Extensions

Compress: It would be still possible to pipe the data through gzip to save bandwidth.

Advanced Status: With pv can cobble together the extended status information about the copy process.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Folkd
  • Google Bookmarks
  • Technorati
  • YahooBuzz

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

1 Response to “Remote system cloning”

  1. Unpacked: Acer Aspire 1825PTZ | Image Tech Inc

    on April 29 2010

    [...] the nail and unpacked. In his unboxing video, the Convertible shows its best side, it comes with Bluetooth, so a 320 GB hard drive, wireless-n and 4 GB of RAM. The Intel Pentium SU4100 has 1.3 GHz and [...]

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

E-mail: (Required)

Website:

Comment:



About Me

Imagetechinc.biz is a blog that provides information about Gadgets, Peripherals, Accessories, and Technology Update. You can participate and send your articles by first became a contributor. Read more about Imagetechinc.biz