Restore ESXi Configuration
I am not able to restore ESXi Configuration. Does anyone have a step-by-step?
Thank´s
Wellington Moreira

- Log in to post comments

I have found manually backup ESXi hosts to be much simpler using vSphereCLI - this is from my own knowledge base.
"Manual Backup of ESXi Hosts.
Have the following installed on your PC or Server - VMware-vSphere-CLI-6.0.0-3561779.exe - as found in our software drive in VMware
This will install the Vsphere Command Prompt - which you will find In Programs(All Apps)>Vmware>Command Prompt
Change the default root path to: C:\Program Files (x86)\VMware\VMware vSphere CLI\bin or C:\Program Files\VMware\VMware vSphere CLI\bin
to perform the backup of the ESXi Host run the following:
vicfg-cfgbackup.pl --server=192.168.0.1 --username=root -s c:\downloads\ESXi_backup.txt
Change the ip address to that of your own server - ensure the downloads folder exists on your PC - if you have more than 1 host edit the txt file to be unique for each server
(Copy this folder to where you will be restoring the system to)
To Restore a backup of a ESXi Host
You will first need to have an installation of ESXI installed on your server first - to the same build generation of the original server.
run the Vsphere Command Prompt - which you will find In Programs(All Apps)>Vmware>Command Prompt
Change the default root path to: C:\Program Files (x86)\VMware\VMware vSphere CLI\bin or C:\Program Files\VMware\VMware vSphere CLI\bin
To perform the Restore of the ESXi Host run the following:
vicfg-cfgbackup.pl --server=192.168.0.1 --username=root --password={PASSWORD} -l -f c:\downloads\ESXi_backup.txt
Change the ip address to that of your own server - ensure the downloads folder exists on your PC with the relevant backup file inside it - edit the txt file to be the backups actual name - put in the real password where it says {PASSWORD}
This will run the restore process - follow the onscreen prompts.
Ensure that the -f is in the script -as this will force the backup over the pre-existing install as otherwise it will error."
I have had 100% success restoring ESXi configurations on failed production machines.
- Log in to post comments