ESXI configuration backup -:

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

Featured Post

HPE MSA 2040 configuration step by step

HPE MSA 2040 configuration Default IP range for HP SAN storage MSA 2040 is 10.0.0.1/2 You need to connect your laptop and storage with...