For those people not using the Enterprise Plus license for vSphere :
Learn how to use vicfg-cfgbackup.pl — a RCLI command which could be found in the vMA. This utility will allow you to create a backup and restore a full ESXi configuration.
The commands vicfg-cfgbackup.pl (esxcfg-cfgbackup.pl) allow you to backup and restore the configuration of your ESXi host.
To backup the host you would run the command.
vicfg-cfgbackup.pl –server <server_name> -s <backup_file_name>
To restore your backup configuration to your host you would run. This will cause the host to reboot once the process is complete. NOTE: The host must be in Maintenance Mode for this to work. The backup configuration must also match the patch level of the ESXi install. You can add a -f to force if needed.
vicfg-cfgbackup.pl –server <server_name> -l <backup_file_name>