VMware Cloud Community
mdisk
Contributor
Contributor
Jump to solution

backup esxI4 with vicfg-cfgbackup

Hello
I am trying to back up an esxi4.0 host configuration with the vicfg-cfgbackup.pl
I have a vcenter server so when I run the command

vicfg-cfgbackup.pl –save –server 192.168.1.9 –username root –password **** backup.bak
I get error massage:
*vihost option must be specified when connecting to Virtual Center

What is the correct syntax to run the backup job from VC
VC IP:192.168.1.227
Host IP:192.168.1.9


Thanks

Mdisk

0 Kudos
1 Solution

Accepted Solutions
DSTAVERT
Immortal
Immortal
Jump to solution

vicfg-cfgbackup.pl –save –server 192.168.1.9 –username root –password **** backup.bak

Try

vicfg-cfgbackup.pl --server 192.168.1.9 --username root --password **** -s backup.bak

except for the -s all the others are -- (double dashes)

-- David -- VMware Communities Moderator

View solution in original post

0 Kudos
2 Replies
DSTAVERT
Immortal
Immortal
Jump to solution

vicfg-cfgbackup.pl –save –server 192.168.1.9 –username root –password **** backup.bak

Try

vicfg-cfgbackup.pl --server 192.168.1.9 --username root --password **** -s backup.bak

except for the -s all the others are -- (double dashes)

-- David -- VMware Communities Moderator
0 Kudos
mdisk
Contributor
Contributor
Jump to solution

Thanks

0 Kudos