Copies every block of /dev/sda into /backup/disk.img, a byte-for-byte disk image. bs=4M speeds up the copy with larger blocks and status=progress shows live progress. Unmount the disk first when possible. Double-check device names with lsblk, because swapping if and of destroys data.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.