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

  1. Open VMware vSphere CLI Command Prompt
  2. 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

  1. Open VMware vSphere CLI Command Prompt
  2. Run vicfg-cfgbackup.pl -l [backup_file_name] -–server [server_name_or_ip] --username [user_id]

E.g. vicfg-cfgbackup.pl –l c:\esx1_20082011.txt –-server 192.168.1.1 –-username root





The host will be rebooted.
Post a Comment

Popular posts from this blog

VMware VCIX Certification Clarification

Credit to VMware Certification

VMware vSphere 6.5 What's New