VMware VCSA 6.5 Backup and Restore: In this blog post we will learn how to backup and restore VMware VCSA 6.5 using native backup and restore feature introduced with the launch of vSphere 6.5, this out of the box file based backup and recovery feature uses vCenter Server Management API to backup files to an external destination. This feature supports HTTP, HTTPS,SCP, FTP and FTPS as supported protocols as destination path to backup files. VCAS 6.5 backup feature also backs up embedded Auto deploy and VUM configurations. Restoring from backup is easy and simple through VCSA deployment UI.
You can automate the backup process using Power cli, please refer Brian Graf’s blog to learn how to automate backup process. First we will learn how to back up VCSA manually and then in second part we will restore VCSA from most recent backup files.
- Login to VAMI (vCenter Server Appliance Management Interface) https://VCSA_FQDN:5480. Enter root credentials to login.
3. Select the destination location protocol and enter the FQDN/IP path along with credentials. Select the encrypt option to encrypt backup data which is recommended to secure your backups. I have selected Scure FTP in this case since i have working SFTP server in my lab, you can chose one of the supported protocols ( HTTP, HTTPS,SCP, FTP and FTPS) of your choice. Click on Next once done.
4. In this step select the files you want to backup, I will chose both the options to backup Inventory anc configuration of VC along with Historical data which includes statistics, events and tasks of vCenter server database, give friendly discretion for the backup.
We now have backed up VCSA files to Secure FTP, we will learn how to restore from known good backup by simulating failure. I have two vCenter 6.5 servers running in linked mode in my home lab, I will power down the first vCenter Server ( The one we backed up above ) to simulate the failure and restore the service back using backup we just created. Below picture show two vCenter Servers in linked mode.
Lets bring back the first vCenter server using previously backed up data.
2. Click on Next to start the process, restore process is two stage process. New appliance will be deployed in stage one and back up files will be copied to bring up the service back online in second stage.
13. I recieved this error at this stage, I figured out that the encryption password for the backup file was wrong so I had to re enter correct password to proceed.
This new Out of the Box Native backup and restore feature enables customers to backup and restore their vCenter server environments easily in affordable manner with out having traditional backup/recovery solution if they chose to.