2

I know how to backup the VMs in the datastore, but what about the ESXi config?

In case of a disaster recovery (like fire and such) which directories should I backup off-site to be able to restore an ESXi configuration?

I know about these:

/bootbank
/altbootbank

Are there others?

Edit:

Note I'd like to move Microsoft Windows out of the equation (especially since VMware is doing the same with the vSphere Client, i.e. not being able to do certain operations on ESXi 5.5 with it any more).

My aim was to do it from a *nix machine (ESXi is very limited in what it can do, and I'd like to keep it that way, i.e. not install many things on it to keep it as stable as possible).

9

1 Answer 1

4

You may want to look at purpose-built VMware backup tools. You will be very disappointed if you treat an ESXi host like a Linux/Unix server.

Use the VMware backup commands from a separate station, and you'll be left with a nice configuration tarball. I would find another approach for the actual VM backups.

Edit: Host-based example

vim-cmd hostsvc/firmware/sync_config
vim-cmd hostsvc/firmware/backup_config

This stores the config in /scratch/downloads:

# vim-cmd hostsvc/firmware/backup_config
Bundle can be downloaded at : http://ip.of.esxi.host/downloads/52fd67ba-2fdf-9876-6651-46c3da638f1a/configBundle-centaur.ewwhite.net.tgz

Also see: http://www.virtuallyghetto.com/2013/02/how-to-backup-restore-free-esxi-host.html

3
  • I'll edit my question, as I'd like to move Microsoft Windows out of the equation (especially since VMware is doing the same with the vSphere Client, i.e. not being able to do certain operations on ESXi 5.5 with it any more). But if that's the best way to go... Mar 26, 2014 at 15:24
  • 1
    Oh, you can use the CLI to do the same thing. Windows is not required.
    – ewwhite
    Mar 26, 2014 at 15:25
  • Thanks. Please add a reference like that to your answer and I'll +1 and accept it. Something like wiki.archlinux.org/index.php/Installing_VMWare_vCLI Mar 26, 2014 at 15:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .