How to Backup and Restore VMware ESXI Host Configuration
#############################
Video Source: www.youtube.com/watch?v=0K8OEiCyjkA
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 • This command is to generate the link to download the file containing the host configuration. It is like http://*/downloads/123456/configBundle-xx.xx.xx.xx.tgz. • 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. • To decrypt encrypted state.tgz , run the command: • crypto-util envelope extract --aad ESXConfiguration local.tgz.ve local.tgz • The restore procedure is: • 1. Rename the backup file into configBundle.tgz . • 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: • vim-cmd hostsvc/firmware/restore_config /backup_location/configBundle.tgz • You should replace /backup_location with the actual directory. • • • • • • • • ๐ธ Support channel make donation : • https://www.paypal.me/aminenina/10 • • ๐ธ Subscribe for more videos : • Youtube: / aminosninatos • • ๐ธ Follow me On Social Media • Facebook : / aminosninatos • • *********************************************************************** • • ๐ธ How To Check Bad Blocks Or Bad Sectors On a Hard Disk In Linux • https://www.youtube.com/watch?v=jE-I9... • • ๐ธ Linux How To Partition a Hard Drive Using the Parted Command • https://www.youtube.com/watch?v=2IoEW... • • ๐ธ Checking or Repairing a File System using fsck in Linux • https://www.youtube.com/watch?v=CcV_M... • • ๐ธ How To Monitor the Health of Your Hard Drive in Linux using SMART • https://www.youtube.com/watch?v=z1z9R... • • ๐ธ Linux iotop: Monitor your disk Input/Output • https://www.youtube.com/watch?v=pWG4v... • • ๐ธ How To use the “du” (Disk Usage) Command in Linux • https://www.youtube.com/watch?v=RA4bM... • • ๐ธ How To View Manipulate System Logs In Linux Using Journalctl Command • • How To View Manipulate System Logs In... • • ๐ธ How To Sync And Backup Files In Linux Using Rsync Command • • How To Sync And Backup Files In Linux... • • ๐ธ Linux cURL Command Tips and Tricks • • Linux cURL Command Tips and Tricks • • ๐ธ Linux tail and multitail commands • • Linux tail and multitail commands • • ๐ธ Linux How To view Log Files • • Linux How To view Log Files • • ๐ธ How To use the History Command On Linux • • How To use the History Command On Linux • • ๐ธ Tips and Tricks How To manipulate Text Files on Linux • • Tips and Tricks How To manipulate Tex... • • ๐ธ How to Archive, Compress and Extract Files Using the tar Command on Linux • • How to Archive, Compress and Extract ... • • ๐ธ Linux - How to split larger files into smaller parts • • Linux - How to split larger files int... • • ๐ธ Linux commands : Top • • Linux commands : Top • • *********************************************************************** • • #ESXI #VMware #Backup
#############################