Solved

VMware vMA vicfg-cfgbackup

Posted on 2013-06-27
9
770 Views
Last Modified: 2013-08-28
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?
0
Comment
Question by:sessionhost4hty
  • 5
  • 4
9 Comments
 
LVL 118
ID: 39280600
We normally run it from a Windows PC.
0
 

Author Comment

by:sessionhost4hty
ID: 39280783
With vCLI installed?
0
 
LVL 118
ID: 39280851
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
0
 

Author Comment

by:sessionhost4hty
ID: 39280971
is vicfg-cfgbackup an option for ESX 4.1 hosts?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39281003
there is no backup option for ESX, only ESXi (note the i)

vicfg-cfgbackup is for ESXi use only.
0
 

Author Comment

by:sessionhost4hty
ID: 39281105
What are backup options for ESX 4.1 host before upgrade to ESXi 5.1?
0
 
LVL 118
ID: 39281360
Very limited, you would need to backup the entire server.
0
 

Author Comment

by:sessionhost4hty
ID: 39283996
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
0
 
LVL 118
ID: 39284156
It's not designed for ESX.

I would not rely on that to restore your configuration.

Document your configuration.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now