Your Webhosting Questions
Answered by the Webhosting Experts
Tags
...
...

How to take the backup of MBR on linux server?

Always recommended that you should take backup MBR.

It is hard disk partition table on your server.

We can use dd command to take a backup for MBR.

=================================
[root@~]# dd if=/dev/hdX of=/tmp/hda-mbr.bin bs=512 count=1
=================================

Replace X with the actual device name. ex. /dev/hda or /dev/sda

In order to restore it back on the server, use following command

=================================
[root@~]# dd if= hda-mbr.bin of=/hev/hdX bs=1 count=64 skip=446 seek=446
=================================

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +
...