Backup Restore ESXi Configuration
Export ESXi configuration file
After you
configured an ESXi host, you can back up the host configuration data. Always
back up your host configuration after you change the configuration or upgrade
the ESXi image.
IMPORTANT The
vicfg-cfgbackup command is available only for ESXi hosts. The command is not
available for ESX hosts and is not available through a vCenter Server system
connection.
Requirements: VMware vSphere CLI installed on workstation
- Open VMware vSphere CLI Command Prompt
- Type
vicfg-cfgbackup.pl -s [backup_file_name]
-–server [server_name_or_ip] --username [user_id]
e.g.
vicfg-cfgbackup.pl –s c:\esx1_20082011.txt –-server 192.168.1.1 –-username root
Restore configuration file
After you
configured an ESXi host, you can back up the host configuration data. Always
back up your host configuration after you change the configuration or upgrade
the ESXi image.
IMPORTANT The
vicfg-cfgbackup command is available only for ESXi hosts. The command is not
available for ESX hosts and is not available through a vCenter Server system
connection.
Requirements: VMware vSphere CLI installed on workstation
- Open VMware vSphere CLI Command Prompt
- Run vicfg-cfgbackup.pl -l [backup_file_name] -–server [server_name_or_ip] --username [user_id]
Comments