Backup/Restore Entire Disk with dd over SSH
Jul 16, 2015
ssh root@HOST -o Compression=no "dd bs=1M if=/dev/sdX" | dd bs=1M of=/dev/sdX
If the default block size of 512B
is used, the transfer rate will be less than 30 MB/s. With an increased block size of 1MB I’m able to achieve gigabit speeds without any problem.