First install VMware PowerCli
Connect your ESXI or vCenter with powercli
Connect-VIServer IP “VC or ESXI IP”
Create one folder in destination drive.
Set-VMHost -VMHost ESXi_host_IP_address -State 'Maintenance'
How to restore VMware configuration
Before restore the ESXI configuration place your ESXI host
into maintenance mode
Set-VMHost -VMHost ESXi_host_IP_address -State 'Maintenance'
Run below command to restore configuration..
Set-VMHostFirmware -VMHost 192.168.1.13 -Restore -SourcePath D:\Backup\
configBundle-192.168.1.13.tgz
Once you will enter above command and press enter it will ask for user ID and password like below.
Set-VMHostFirmware -VMHost 192.168.1.13 -Restore -SourcePath D:\Backup\
configBundle-192.168.1.13.tgz
-HostUser root -HostPassword 123qwe=
vicfg-cfgbackup --server=192.168.1.13 --username=root -s
ESXi_test1_backup.tgz
No comments:
Post a Comment