[Linux] Drive and partition backups with dd.

in #linux6 years ago (edited)


Image Credit to Farstone.Com

There are a lot of backup utilities available, but the simplest backup tool is available already with every single Linux distribution out there. The 'dd' tool simply copies standard input to standard output, read in 512-byte blocks.
With this, dd can copy a file to another file, or a partition to another partition, or file to partition (and vice versa). This makes dd quite versatile, and perfect for cloning partitions and drives. For instance, to make an exact clone of the /boot partition to a backup file, you could use: # dd if=/dev/sda1 of=/srv/boot.img

Full Article @ Techrepublic.Com

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.029
BTC 68565.31
ETH 2455.74
USDT 1.00
SBD 2.62