VMware Cloud Community
AnwerWaseem02
Contributor
Contributor

ESXI 6.7 Backup

Hi

I have 2 ESXI host configured with VSPhere HA and managing with VCenter!

I have image backup of vCenter and can restore without any problem!

I would like to configuration or image backup of ESXI both host. Please advise how to do that.

https://kb.vmware.com/s/article/2042141

I found the below articles and install the  vSphere CLI but unable to execute as discussed.

i am confused by many of the forum that PowerCLI should install on vCenter Windows Server to execute.

I have vCenter Appliance, I have installed vSphere CLI on my PC and run the backup from my system. Please advise or provide best practice to taken the backup.

 

Regards

 

 

Reply
0 Kudos
3 Replies
depping
Leadership
Leadership

ESXi configuration is typically not backed up (it is not even supported), I would advise to focus on automated configuration of ESXi instead, I suspect the number of settings you set is rather lower. Considering it is just 2 hosts, you could also simply document the settings on paper if you are not overly comfortable with powercli.

Doc_hemlock
Contributor
Contributor

Hi @AnwerWaseem02 

 

You don’t normally backup esxi config. The closet thing to what you are alluding at would be host profiles. 

AnwerWaseem02
Contributor
Contributor

 

Hi Thanks to all of you who have shared experience.

Please advise how below commands are helpful ! what have taken in bundle ? how could be helpful if system is crash and use this backup  to restore.

++++++++++++

  • ESXi Command Line
To synchronize the configuration changed with persistent storage, run this command:

vim-cmd hostsvc/firmware/sync_config

To backup the configuration data for an ESXi host, run this command:
 
vim-cmd hostsvc/firmware/backup_config

Note: The command should output a URL in which a web browser may be used to download the file. For example :
Bundle can be downloaded at : http://*/downloads/123456/configBundle-xx.xx.xx.xx.tgz
Where * denotes the host IP/FQDN.
The backup file is also located in the /scratch/downloads directory as configBundle-HostFQDN.tgz
+++++++++++++++
Reply
0 Kudos