[Linux] Drive and partition backups with dd.

in linux •  6 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!