Link to home
Start Free TrialLog in
Avatar of sessionhost4hty
sessionhost4hty

asked on

VMware vMA vicfg-cfgbackup

Has anybody configured the vMA so I can run the vicfg-cfgbackup to backup a ESX host (4.1) before upgrade to ESXi 5.1?
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

We normally run it from a Windows PC.
Avatar of sessionhost4hty
sessionhost4hty

ASKER

With vCLI installed?
Yes, using vCLI (vSphere Command-Line Interface Reference) because it's easier for many of our clients, to run a batch file, from a scheduler, and write the contents to a windows share for backup.

http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vcli.ref.doc%2Fvicfg-cfgbackup.html
is vicfg-cfgbackup an option for ESX 4.1 hosts?
ASKER CERTIFIED 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
What are backup options for ESX 4.1 host before upgrade to ESXi 5.1?
Very limited, you would need to backup the entire server.
I ran vicfg cfgbackup on ESX 4.1 host and it worked:

1) Install Windows vCLI
2) Enable SSH on ESX host
3) Putty to host. login with root. Type following commands:
mkdir /tmp/scratch
mkdir /tmp/scratch/downloads
exit
4) Open vCLI command prompt, type:
vicfg-cfgbackup.pl --server <ip> -s C:\temp\backup.bak
It's not designed for ESX.

I would not rely on that to restore your configuration.

Document your configuration.