Backup Configuration
- Connect via SSH to your running ESXi Host
- Run to backup config from host
vim-cmd hostsvc/firmware/backup_config
- Config saved under /scratch/downloads
- Copy config to a safe location
Restore Configuration
- Run enter maintenance mode
vim-cmd hostsvc/maintenance_mode_enter
- Run to restore config
vim-cmd hostsvc/firmware/restore_config /tmp/configBundle.tgz
Restore Configuration on a blank machine
- Install Host
- Install the new host with the same ESXi Version and Build
- Follow the installation assistent
- Reboot machine
- ISO
- Create a ISO with your backuped configBundle.tgz
- Burn ISO or Load ISO as Virtual Drive in your LOM
- ESXi Shell
- Mount CD-ROM
- Restore config
[via]https://graspingtech.com/backup-vmware-esxi-6-5-configuration/[/via]
[via]https://www.techcrumble.net/2017/05/how-to-mount-the-host-cd-rom-to-the-esxi-shell/[/via]
[via]https://kb.vmware.com/s/article/2004746[/via]