How to Backup and Restore VMware ESXI Host Configuration

preview_player
Показать описание
How to Backup and Restore VMware ESXI Host Configuration

Having healthy ESXi hosts is a key to success when running virtual machines. That’s why it is better to back up ESXi configuration. Thus, if something goes wrong with an ESXi host, its configuration can be restored in a few minutes without spending a lot of time to configure an ESXi server from scratch.

The backup procedure is:
1. Connect to ESXi host via SSH.
2. Run the command below:
vim-cmd hostsvc/firmware/sync_config
This command is to make sure that all the changes of configuration would be saved to the target file.
3. Run the command below:
vim-cmd hostsvc/firmware/backup_config
You need to be aware that the "*" is the IP or FQDN of the host so you should manually replace it.
4. Open a web browser and copy and paste the link into it. Type Enter.
The backup file would be downloaded then. It could be found in the folder Download whose name contains "configBundle" and host FQDN. That's the way to export ESXi configuration.

The restore procedure is:
2. Run the command below:
vim-cmd hostsvc/maintenance_mode_enter
This command is to put the ESXi host into maintenance mode
3. Copy the backup file to ESXi host
4. Run the command below:
You should replace "/backup_location" with the actual directory.

🌸 Support channel & make donation :

🌸 Subscribe for more videos :

🌸 Follow me On Social Media

***********************************************************************

🌸 How To Check Bad Blocks Or Bad Sectors On a Hard Disk In Linux

🌸 Linux How To Partition a Hard Drive Using the Parted Command

🌸 Checking or Repairing a File System using fsck in Linux

🌸 How To Monitor the Health of Your Hard Drive in Linux using SMART

🌸 Linux iotop: Monitor your disk Input/Output

🌸 How To use the “du” (Disk Usage) Command in Linux

🌸 How To View Manipulate System Logs In Linux Using Journalctl Command

🌸 How To Sync And Backup Files In Linux Using Rsync Command

🌸 Linux cURL Command Tips and Tricks

🌸 Linux tail and multitail commands

🌸 Linux How To view Log Files

🌸 How To use the History Command On Linux

🌸 Tips and Tricks How To manipulate Text Files on Linux

🌸 How to Archive, Compress and Extract Files Using the tar Command on Linux

🌸 Linux - How to split larger files into smaller parts

🌸 Linux commands : Top

***********************************************************************

#ESXI #VMware #Backup
Рекомендации по теме
Комментарии
Автор

Thank You very Much
It was a Great Video with Full Detail of Restoring ESXI

soheylsalehi
Автор

Excellent and amazing video !!you are and excellent teacher

goyopinto
Автор

Thanks for your video.

My initial problem is that i disabled module vmw_ahci and now i am not able to enable it back via cli. After a reboot it is always reverted to disabled state. Already tried every tutorial available, but no luck. I can see that it is disabled in the esx.conf.

What i want to do now is to follow your tutorial but then change the parameter in the esx.conf and tar everything back, encrypt the tar and restore that modified backup.

What is the crypto-util command to re-encrypt the tar?

playalisticpaul
Автор

i dont have the crypto-util command how can i get it

testettttestttess
Автор

anybody happen to know if there's a crypto-util utility equivalent on Linux?

ciroiriarte
Автор

if we want to use backup on another host esxi
then what must do?

warrior
Автор

Good but.
Better explain to people how to restore the esxi configuration to a DIFFERENT hardware/server!

pepeshopping
Автор

Solution for this error --> crypto-util envelope: ESXi kernel key cache error searching for

gerg