Articles > Virtualization
Printer Friendly Version
Views: 6418

Backup your ESXi 4.1/5.0 Host config from the vSphere CLI

Last Updated: 1/13/12

Backup your vSphere 4.1/5.x environment from your vSphere CLI Run this command once:
 connect-viserver -server [vCenter-Server] 

Then run this for each host you want to backup: 
Get-VMHostFirmware -vmhost [Esxi-Hostname] -BackupConfiguration -Destination "C:\vSphere_configs" 

The backup folder must exist! 

Result: 
Host                   Data ---- ---- 
[Esxi-Hostname] C:\vSphere_configs\configBundle-[Esxi-Hostname].tgz




Keywords: vmware, vsphere, cli, backup, esx, esxi, config