Trying to backup a standalone vSphere host from a Windows 10 workstation. Found this:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2042141
Says to use the vSphere CLI. Downloaded and installed v6.5. Downloaded and installed Perl from Perl Solutions | ActiveState.
vicfg-cfgbackup.pl --server=myserver --username=root -s myserver.bak
Got:
Can't locate XML/LibXML.pm in @INC (you may need to install the XML::LibXML module)
(@INC contains: C:\Program Files\VMware\VMware vSphere CLI\Perl\lib C:/Perl/site/lib C:/Perl/lib .) at C:\Program Files\VMware\VMware vSphere CLI\Perl\lib/VMware/VICommon.pm line 11.
BEGIN failed--compilation aborted at C:\Program Files\VMware\VMware vSphere CLI\Perl\lib/VMware/VICommon.pm line 11.
Compilation failed in require at C:\Program Files\VMware\VMware vSphere CLI\Perl\lib/VMware/VIRuntime.pm line 15.
Compilation failed in require at C:\Program Files\VMware\VMware vSphere CLI\bin\vicfg-cfgbackup.pl line 6.
BEGIN failed--compilation aborted at C:\Program Files\VMware\VMware vSphere CLI\bin\vicfg-cfgbackup.pl line 6.
C:\Program Files\VMware\VMware vSphere CLI\Perl\lib contains two folders:
VMware
WSMan
C:\Perl\lib contains a folder called XML but it does not contain LibXML.pm.
Never used Perl but clearly something didn't get installed because LibXML.pm is nowhere to be found.
Found XML-LibXML-2.0128.tar.gz on The CPAN Search Site - search.cpan.org. Unpacked it.
Now what?
How do I install this?
Why wasn't this installed?
Is this the ONLY way to backup a vSphere host?
Don't they test these installers on prisoners before posting them?
Tony Perovic
Compumation, Inc.