Andy's VMware vSphere tip#10: Backup your ESXi configuration, I'm not referring to your VMs, which should be backed up anyway.  But the configuration of the ESXi server, e.g. vSwitches, Time Settings, Advanced settings, firewall settings, network teaming policies.... so they can be easily restored in the event of server failure.

Don't waste time, trying to backup and clone usb thumb drives or SD cards, you are wasting your time, and it does not work! and please use good quality USB thumb drives or SD cards, from SanDisk, Kingston, Lexmark, and not $1 thumb drives from Walmart!

You can use the following commands in the vSphere vCLI to backup

vicfg-cfgbackup --server=ESXi_host_IP_address --username=root -s output_file_name

and to restore

vicfg-cfgbackup --server=ESXi_host_IP_address --username=root -l backup_file
see here for further details

https://kb.vmware.com/s/article/2042141

Please post a question to the VMware Topic area, if you would like to discuss this further.
1

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month