How to backup ESXi server configuration
From Tech-Wiki
How to backup ESXi server configuration to remote location or local.
Local Backup Log in via tech support mode (local console or ssh).
backup.sh 0
Remote backup From the vCli or vMA.
esxcfg-cfgbackup --server xxx -s path