Esxi 4.1 backup and restore

Hi ,

am going to perform some activity on my esxi host..may be there will be any issue after this.

so just to make sure in case any issues am ready with backup to get thsi host up agagin with earlier config.

please advcie best way to get the host backup and how i can get the host back form backup with minimal downtime ?

is there any utility/commnd line we can use for this and any other requirement ?
patronTechnical consultant Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SeanSystem EngineerCommented:
What kind of problems are you expecting? you can shut off all VMs and copy their files off the datastore. this would create a copy of the VMs.
are you booting the host from a flash device.  just back that up to another flash device and test it to make sure it boots.  there is software available like veeam also

if you're backing up a flash device make sure you use a utility that is able to back it up so that it stays bootable. i'll get you a link to one
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The only method to backup the ESXi configuration is as follows:-

Back up the host configuration to the file C:\backup.txt:

 vicfg-cfgbackup <conn_options> -s C:\backup.txt

Reset the host, that is, restore to factory settings:

 vicfg-cfgbackup <conn_options> -r

Restore a configuration previously saved to C:\backup.txt to the host:

 vicfg-cfgbackup <conn_options> -l C:\backup.txt

The above backs up the configuration of the host, so yuo would need to re-install ESXi, and then restore the configuration.

OR, if you have installed in USB flash drive or SD card, which I would recommned, see my EE Article

How to Backup an ESXi installation on an USB Flash Drive or SD card, for security or redundancy.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

usb image tool from works pretty good.  you are trying to backup your host and not the vm's on the host right?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The easiest way is to restore from scratch using ESXi installer.
patronTechnical consultant Author Commented:
here am looking for my esxi host backup only,vms ll be moved to another host in cluster

so in case any failure with host,how soon can we get thsi back with earlier config?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you have a backup of ESXi on a USB flash drive or SD card - 5 minutes.

If you need to restore from ESXi installer ( 17 minutes for restore), restore configuration using above - 30 minutes.

If you need to restore from ESXi installer ( 17 minutes for restore), restore from documentation, 30 minutes.

It does not take long to restore and ESXi installation, and restore configuration from documentation, which sometimes is easier than the above.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patronTechnical consultant Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.