Avatar of D_wathi
D_wathi
Flag 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.
VMware

Avatar of undefined
Last Comment
ssujai

8/22/2022 - Mon
D_wathi

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
IanTh

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23