Friday, 10 June 2011

VMware - Backing up ESXi configuration

Backing up your ESXi Configuration:
To backup your ESXi configuration you’ll be using the vicfg-cfgbackup.pl command as follows:


Download either the vMA or vCLI 
Launch vicfg-cfgbackup.pl:
C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl –save –server 192.168.15.253 –username root –password password backup.bak 
Note: The backup will be stored relative to your user “AppData” path:
C:\Users\Username\AppData\Local\VirtualStore\ 
Restoring your ESXi Configuration:
Restoring your ESXi config can be done after you have the host up and responding over the network again by using the following:


C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl –load –server 192.168.15.253 –username root –password password backup.bak


Note: You will be asked to reboot the host on restore.

No comments:

Post a Comment