Backup and Restore VM Host
To back up ESXi configuration: Run the following command to sync the configuration: vim-cmd hostsvc/firmware/sync_config Run the following command to generate a backup file: vim-cmd hostsvc/firmware/backup_config Download the configuration file by going to the URL in the output. (Replace * in the URL with the IP address.) If unable to download the config file through the browser, it can be found in /scratch/downloads/<<GUID from output in step b>>/configBundle-hostname.local.tgz . Use WinSCP to transfer the file from ESXi to the local machine or copy it to a datastore Restore configuration back to ESXi host: Make sure the same ESXi build from which the backup was taken is installed back onto the host. Copy the backup file back to the ESXi host. Use WinSCP to copy the config file back to the host /tmp directory. Rename the file from configBundle-<host name>.tgz to configBundle.tgz . Example: cp configBundle-esxi7001.vmlab.local....