[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Backup and restore of RHEL 4.5



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rohit khaladkar schrieb:
> Thanks a lot! This helps!
> The requirement that I have is I would be upgrading the server from Red Hat
> 4.5 to Redhat 5.2.
> But if something goes wrong , I need to have a backup plan to restore
> everything back.
> 
> Please let me know if anyone thinks, there would a better way out after
> looking at the requirements.
> 

As far as i know partimage canĀ“t copy the bootloader in the mbr, after a
restore you have to reinstall the bootloader with the recovery system or
make a backup of the mbr before making the image with partimage.

In order to backup only the first few bytes containing the MBR and the
partition table you can use dd:

dd if=/dev/hdx of=/path/to/image count=1 bs=512

to restore the mbr just start a linux live-system and enter the
following command:

dd if=/path/to/image of=/dev/hdx

You can backup the MBR to a floppy-disk or a USB-stick, whatever you prefer.

T-One
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFJeG7RXMoRx2jlGfkRAr4hAKCRtB6PTX88BX2lWcxBouK/I8KRCwCgyUWj
1cVCunTLggm9XOyRUTvh6mo=
=3oGQ
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]