Link to home
Start Free TrialLog in
Avatar of Goutham
GouthamFlag for India

asked on

VMware-vSphere-CLI commands for backup of esxi host configurations

Dear Experts:

Have installed VMware-vSphere-CLI-5.0.0 on windows 7 pro laptop now would like to take the Esxi host configurations backup for the Esxi host and Vcenter as a appliance.

when execute the below command iam getting an error

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl 192.168.
1.218
Enter username: root
Enter password:
Error connecting to server at 'https://localhost/sdk/webService': Perhaps host i
s not a vCenter or ESX server

my esxi host ip is 192.168.1.250 and vcenter ip is 192.168.1.218

please provide me the command syntax for the backup.
Avatar of Goutham
Goutham
Flag of India image

ASKER

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl --server
 192.168.1.250 -s esxihostbackup
Enter username: root
Enter password:
Saving firmware configuration to esxihostbackup ...

able to take backup of Esxi host with the above.

how to takebackup of vcenter host

1. is it recommended to take the back of vcenter instead of Esxi host or taking the Esxi host backup is receommended, please suggest
how to take vcenter backup
SOLUTION
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial