To synchronize the configuration changed with persistent storage, run the command:
To backup the configuration data for an ESXi host, run the command:
Note: The command should output a URL in which a web browser may be used to download the file. The backup file is located in the /scratch/downloads directory as configBundle-<HostFQDN>.tgz
Note: When restoring configuration data, the build number of the host must match the build number of the host that created the backup file.
Put the host into maintenance mode by running the command:
Copy the backup configuration file to a location accessible by the host and run the command:
vim-cmd hostsvc/firmware/restore_config /tmp/configBundle.tgz
In this case, the configuration file was copied to the host's /tmp directory. For more information, see Using SCP to copy files to or from an ESX host (1918).
Note: Executing this command will initiate an automatic reboot of the host after command completion.