Topics | How To | Full System Restore | Related Topics
You can use the Linux File System iDataAgent as one component for performing a full system restore of the VMware ESX Server 2.5. The full system restore procedure currently provided serves as only one example of how the restore can be completed (other methods may be preferable), and it includes two distinct restores, as follows:
Try to avoid the unconditional overwrite of the root directory on a live file system. This is a mechanism that allows an unconditional overwrite of open files in the root directory (/) on a live file system. Performing such a restore can result in an inconsistent system that may also fail to boot. Use this option AT YOUR OWN RISK. |
Before You Begin
(/dev/sda5 is special partition type “fc” used by VMkernel for core dump.
/dev/sda6 is special partition type “fb” used as vmfs2 file system.)
To
perform a full system restore of the VMware ESX Server:
Use the defaults to save some time later.
unmount /boot
Create an ext3 filesystem on the original / partition (/dev/sda2). You will restore the backup to this partition. Set the label of the partition to /.
mkfs.ext2 –j –L / /dev/sda2
Then mount the new root (/) to a temporary mount point.
mount /dev/sda2 /mnt
Then create the new /boot directory. This filesystem will be overwritten (unconditionally) from the backup. Mount the existing disk to the new mount point.
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
mkdir /mnt/proc
chroot /mnt
Then execute the following command to update the boot loader with the new root (/) and /boot information.
lilo
The system has now been restored and should behave as before the failure. The virtual swap will be re-created, and the virtual machines will start automatically if set to do so.