Copying and restoring the entire disk in Linux with dd
- Lucas
- October 07, 2017
All Linux distributions include a program that gives us the possibility of making reliable copies of the entire disk or partition, as well as restoring it. This is the “dd” command. Copying disk A to disk B: dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync In this example, we are copying the entire “/dev/sda” disk to the “/dev/sdb”