Monday, September 12, 2011

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

Windows 2016 Core Licensing FAQ

A very busy month for me and also traveling to take a break from work. Finally to sit down and compose which got confused by many of my co-w...