Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Backing up mbr/partitions using dd

User317378Aug 24 2011 — edited Aug 25 2011
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
This post has been answered by Dude! on Aug 25 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2011
Added on Aug 24 2011
7 comments
805 views