Requirements
Need to download
Extract the file and copy to the linux appliance using winscp
If youre getting below error when copying files using winscp. Pls refer bellow url
We have to copy the files to the /tmp in the vcenter appliance
Make backup_lin.py file as executable( we have to do it for both backup & restore files)
Now using below command we can back up our vcenter appliance embedded database( backup location/file
Is /tmp/backup_VCDB.bak).If we want we can download this file using winscp
Before I run the restore process, im just removing one of the datacenter object from my vcenter web client
Same as backup_lin.py, we have to change restore_lin.py as executable
Before we start the restore process, we need to stop vpx & vdcs service. We can use below mention commnads
Using belwo command we can start restore process
Python /tmp/restore_lin.py -f /tmp/backpu_VCDB.bak
Once restart process completed. We have to start vpxd and vdcs services
Now we can re-login to the vcenter web client and check , deleted item has restored.
Reference links