6 users online | 6 Guests and 0 Registered

How to Backup / Restore ESXi configuration


PowerCLI:

Get-VMHostFirmware -VMHost 10.0.0.1 -BackupConfiguration -DestinationPath C:\Downloads
Set-VMHost -VMHost ESXi_host_IP_address -State 'Maintenance'
Set-VMHostFirmware -VMHost 10.0.0.1 -Restore -SourcePath c:\bundleToRestore.tgz -HostUser root -HostPassword exampleRootPassword
 
SSH:
vim-cmd /hostsvc/firmware/backup_config
vim-cmd hostsvc/maintenance_mode_enter
vim-cmd hostsvc/firmware/restore_config /tmp/configBundle.tgz
Last update:
2016-03-23 16:06
Author:
Steve
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.