Cloning Disks Over Ssh

Cloning disks over SSH

Lets say you want to migrate a disk or partition over ssh from one machine to the other, well, lets just do the following on the _target_ server.

ssh server1 -c blowfish "dd if=/dev/vg00/disksnapshot"  | dd of=/dev/vg00/target-disk bs=1024k conv=notrunc,noerror

Some more good hints can also be found at, http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html



blog comments powered by Disqus