
So for this step you need to upload the backup script to the broken vCenter.Ĭonnect to your vCenter Appliance and then choose the folder /tmp (right window) and move the backup script file to it (drag and drop). One for the backup and one for the restore.
#Schedule commands vcenter 6.5 zip file
The zip file has two script files backup_lin.py and restore_lin.py. I use WinSCP to move the file from my laptop to the vCenter. Step 2 (step 1 to 3):Īfter download the script 2091961_linux_backup_restore.zip you need to upload the file to vCenter Appliance so that you can run the command to backup the DB. You can download from the VMware KB HERE.


That was the question since the backup was 40 days old and restoring a vCenter this old is a big issue. After I give up trying to fix it, was time to restore. The vCenter had the DB running, but ODBC was broken, and some services were not running and was not possible to restart (mainly vpxd), and the connection to the DB was always dropped. For the safe side, I did a backup a couple of months ago of this vCenter, so the backup that I had to restore this vCenter was too old (40 days). We have Veeam to backup most of our Virtual Infrastructure, but this is one of the vCenter that are not included in our backup plan.
#Schedule commands vcenter 6.5 how to
In this article vCenter 6.0 Appliance (VCSA) fix and restore will not go through how to troubleshoot the issue, or what the root cause(was not possible to identify with 100% sure what was the root cause), but only the way to recover and restore the vCenter.

After some Storage issues vCenter stop working and was not possible to recover, so I decided to write this article vCenter 6.0 Appliance (VCSA) fix and restore to help others with the same issue. This week we had an outage with our vCenter Appliance 6.0 vPostgres DB.
