Backing up mbr/partitions using dd
Hi,
I have been given the responsibility of ensuring that are backup strategies are correct for our linux servers and to create a backup/restore document and of course test same.
I have been reading documents about backing up the mbr/partition table using dd and just need a few points clarified if possible.
If I do an fdisk -l on any of our servers theoutput is fairly similar to below.
Device Boot Start End Blocks Id System
/dev/sda1 1 16 128488+ de Dell Utility
/dev/sda2 * 17 278 2104515 b W95 FAT32
/dev/sda3 279 291 104422+ 83 Linux
/dev/sda4 292 17769 140392035 5 Extended
/dev/sda5 292 17769 140392003+ 8e Linux LVM
from reading the below excerpt it seems that i need to backup the sda1?
The MBR and partition table are contained in the first 512 bytes of your hard drive. An MBR has three parts. The boot block is stored in the first 446 bytes, the paritition table is stored in the next 64 bytes, and the boot code signature takes up the remaining 2 bytes.
Can somebody please calrify for me what devices listed above that I need to take a dd image of to ensure that I can restore the mbr and the partitions?
Thanks,
Keith