Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
ESX Server Configuration Backup and Restore procedure
Details
How do I restore an ESX host to a previous configuration in case of a failure/reinstallation.
Warning: This procedure is an unsupported workaround. This may lead to corruption if done incorrectly.
Solution
Backing up Procedure
Backup the entire /etc/vmware directory, excluding the following:
-
Any soft links
-
/etc/vmware/patchdb
-
/etc/vmware/ssl
Restoring Procedure
To restore configuration:
-
Reinstall ESX to the same patch level as the failed one.
-
Get the information on the currently configured core dump partition and copy and paste the output into a text editor:
esxcfg-dumppart –l -
Get the information on the currently configured cos core file and copy and paste the output into a text editor:
cat /etc/vmware/esx.conf |grep CosCorefile -
Restore /etc/vmware from a previous backup.
-
Update the new configuration file with core dump partition information:
esxcfg-dumppart –s vmhbaX:X:X:X
Where vmhbaX:X:X:X is the dump partition name noted from step 2. -
Edit /etc/vmware/esx.conf and update the CosCorefile information to match the path copied in step 3.
-
Get the new UUID for the root partition:
cat /boot/grub/menu.lst |grep UUID
This generates at least 3 lines with root=UUID=xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx where x is a hexadecimal number. -
Update the configuration with new root device UUID by executing following command
esxcfg-boot –d “UUID=xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx" - Reboot the ESX host.
The ESX host reboots with the old profile.
Keywords
Feedback
Actions
- KB Article: 1000761
- Updated: Nov 3, 2009
- Products:
VMware ESX - Product Versions:
VMware ESX 3.0.x
VMware ESX 3.5.x

