ESXi

 View Only
  • 1.  Backing Up ESXi Config. Files

    Posted Sep 07, 2010 02:32 PM

    Hi,

    Is there a good method (if any) to backup the config files of a hypervisor automatically? Idealy what I'm looking for is a way to restore all the 'custom' changes I've made to a hypervisor in the case I have to rebuild one (disaster recovery).



  • 2.  RE: Backing Up ESXi Config. Files
    Best Answer

    Posted Sep 07, 2010 02:35 PM

    You can use the esxcfg-cfgbackup.pl Perl script to do it. Check out this post for more information on how to do it from the PowerCLI.

    Note: YMMV since I haven't personally done this.

    http://waynes-world-it.blogspot.com/2009/08/vmware-powercli-backup-esxi-40-firmware.html



  • 3.  RE: Backing Up ESXi Config. Files

    Posted Sep 07, 2010 04:23 PM

    Thanks, don't suppose you know if this will also backup any Virtual Switches & port groups created?



  • 4.  RE: Backing Up ESXi Config. Files

    Posted Sep 07, 2010 04:27 PM

    From what I understand it does a basic backup of all of the host functions such as datastores, vSwitches, users, etc. I'm pretty sure it doesn't do VM settings and I'm pretty sure it doesn't do any advanced settings.



  • 5.  RE: Backing Up ESXi Config. Files

    Posted Sep 07, 2010 04:40 PM

    You can also use Set-VMHostFirmware. When you take a system backup for ESXi it will backup configuration settings (the Configuration tab, users) but it will not backup any virtual machine data.




    Dave

    VMware Communities User Moderator

    Now available - vSphere Quick Start Guide

    Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.



  • 6.  RE: Backing Up ESXi Config. Files

    Posted Sep 07, 2010 06:47 PM

    Thanks for the great feedback you two. I'm only looking at backing up the hypervisor config. I'm using Symantec Backup Exec 2010 to handle the actual VMs.