Solved

esxi backup host

Posted on 2014-01-24
4
516 Views
Last Modified: 2014-03-24
I currently have a cluster with two hosts in it.  I was curious if it is worth it to backup the configuration of the host.  I have esxi install on local disks on the host, also i have a backup appliance installed there but no production servers.

My question is, should i backup the host configuration?  Is it worth it, or am i better off just reinstalling esxi if i need to?

all of my guest servers are running on shared storage.
0
Comment
Question by:IKtech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Nick Rhode
ID: 39807274
You can use this guide by Andrew Hancock.  Andrew is the VMware Juggernaut here and if you view his profile he has many many articles on how to use VMware to get the most out of it.  From beginner to advanced.

http://www.experts-exchange.com/Software/VMWare/A_5409-How-to-Backup-an-ESXi-installation-on-an-USB-Flash-Drive-or-SD-card-for-security-or-redundancy.html

Backing up the host configuration for me mainly depends on how much configuration on that host was done.  I back them up anyways just in case one does fail it will reduce the downtime to get it back up and going.
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39807351
Hello Iktech

What we do, is run daily scripts to backup the ESXi Host Configuration, just in case any changes are made by accident, we can easily role them back!

This command is available from the vSphere Command-Line Interface which you can download and install on a Windows OS.

for this we use the following commands:-

Backup host configuration to C:\backup.txt:

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


Restore host configuration file

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

We script the avoce changes from a Windows Server in the Scheduler

My article above or below:-

How to Backup an ESXi installation on an USB Flash Drive or SD card, for security or redundancy.

which was the 2nd article I wrote for EE, concentrates on the actual backup of the USB/SD card media, to use as a backup (we stick them to the inner case of the server), just in case USB flash drive or SD card media fails, we have never had to use it, and we've been installing ESXi to USB/SD cards since 2004.

Since my article was written, ESXi has changed, and Winimage no longer works, and you will need to use USB Image tool here -  http://www.alexpage.de/usb-image-tool/

Also if you have installed to local disk, article does not apply.

So I would regularly backup the config, see above, which you can apply to a default installation easily.

@Nick Thanks for my mention!!!
0
 
LVL 3

Author Comment

by:IKtech
ID: 39807369
thanks i will start some attempts at getting a backup of a dev box and then move to the production boxes.  With as often as I make changes to the hosts i think maybe a weekly or a monthly would work for us.  I am the only one that makes changes anyway.  

I'll report back and give points soon.  Thanks again.
0
 
LVL 120
ID: 39807376
It's a good idea, to get backups of configs, just in case.

unless you have very good, change management, and documentation skills to record what changes were completed.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

740 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