Skip to content
theDXT
  • Home
  • IT
  • Scripts
  • GitHub
  • LinkedIn
  • X (Twitter)
  • Search Icon
ESXi Config Restore

ESXi Config Restore

May 13, 2023

Having a backup is great, but it only helps if you know how to restore it. Previously I showed you how to take an ESXi Config Backup. Now let me show you the process to restore that ESXi config backup.

The Process

  • Make a note of your current ESXi build number and the build number of the ESXi config backup file.

If you aren’t sure how, here’s a post I made about how to get your ESXi Build Number without vCenter for your current ESXi and your ESXi config backup file.

Your current ESXi build number and the ESXi build number in the ESXi config backup file must match.

Technically you can still restore with mismatching build numbers however that is a bug and it could cause unexpected behavior and based on VMware’s documentation it would likely not be supported if something goes wrong later on.

You can read more about this bug on my post called ESXi Config Restore Bug.

  • Rename the ESXi config backup file you want to restore to configBundle.tgz
  • Enable SSH by right clicking on the host and selecting Services > Enable Secure Shell (SSH)
  • Put the host into maintenance mode by right clicking on the host and selecting Enter maintenance mode
  • Click on Yes to confirm
  • Upload the configBundle.tgz file to a datastore on the ESXi host. (I’m going to use WinSCP)
  • Reboot the host by right clicking on the host and selecting Reboot
  • Confirm the reboot by clicking on REBOOT
  • Enable SSH again by right clicking on the host and selecting Services > Enable Secure Shell (SSH)
  • SSH into the ESXi host (I’m going to use PuTTY)
  • move the configBundle.tgz file to /tmp/

Your commands will be different than mine but this is the command I ran.

mv /vmfs/volumes/ESX01-NVME/configBundle.tgz /tmp/configBundle.tgz

  • Run the following command vim-cmd hostsvc/firmware/restore_config 0

Your SSH connection will drop as it will reboot the ESXi host to apply the ESXi config backup file settings.

Once the ESXi host has booted it will now be running with all the settings that were in your ESXi config backup file.

You have now restored your ESXi config backup file.

Related posts:

ESXi Config Restore Bug ESXi Config Backup vCenter ESXi Config Backup Script ESXi Build Number without vCenter

IT
ESXi, How To, Restore, VMware

Post navigation

PREVIOUS
Onyx (MLNX-OS) BIOS Password Reset
NEXT
VMware Horizon Customize Web Portal

One thought on “ESXi Config Restore”

  1. Pingback: vCenter ESXi Config Backup Script - theDXT

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

About Me

Daniel Keer

Project Lead, Senior Consultant at Digitally Accurate Inc.

Awards and Certificates
VMware vExpert ⭐⭐⭐
Omnissa Tech Insider ⭐⭐

Consulting

Stuck on something? Reach out to Digitally Accurate Inc. and we can provide expert IT consulting to help you move forward.

  • Veeam Backup & Replication 13 Windows Install
  • Enable Windows 10 Extended Security Updates
  • slmgr.vbs
  • CyberChef
  • Install or Upgrade Duo Authentication for Windows Logon
© 2026   Copyright. All Rights Reserved.