Vmware ESXi (6.5) backup/restore a configuration
Ooops. My USB-flash drive with ESXi 6.5 onboard was failed.
The host was working but couldn’t save any changes in the configuration and etc.
I connected to the host with PowerCLI and saved the configuration into a file:
Get-VMHostFirmware -VMHost myESXi -BackupConfiguration -DestinationPath d:\backup
Then I built a new USB-flash disk with fresh ESXi 6.5 installed, booted to it on another PC and restored the configuration to it with PowerCLI:
Set-VMHost -VMHost tempESXi -state maintenance
Set-VMHostFirmware -VMHost tempESXi -Restore -SourcePath d:\backup\configBundle-myESXi -Force
The temporary host restarted, I shutdown it and removed the USB-flash.
Then I inserted the new USB-drive into my ESXi host, entered into maintenance mode and reboot it.
All my settings were OK and the host worked fine.
Comments are currently closed.