Back up the host configuration before you begin a host upgrade.

For more information about the VMware vSphere Command-Line Interface and the vicfg-cfgbackup command, see the vSphere Command-Line Interface Installation and Reference Guide.


Install the vSphere CLI.


In the vSphere CLI, run the vicfg-cfgbackup command with the -s flag to save the host configuration to a specified backup filename.

 vicfg-cfgbackup --server <ESXi-host-ip> --portnumber <port_number> --protocol <protocol_type> --username username --password <password> -s <backup-filename>