大网数据广告活动
服务器运维问答

What directories to backup on ESXi apart from the VMs?

· 52CE 我爱测

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 abo…

问题原文

原帖链接 · Jeroen Wiert Pluimers · CC BY-SA 3.0

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).

已采纳解答

原帖链接 · ewwhite · CC BY-SA 3.0

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

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-03-26)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。