You can use the Management API of to restore a vCenter Server instance from a backup file containing the vCenter Server database and key components of the vCenter Server instance.
Prerequisites
- Verify that the backed up vCenter Server instance is powered off.
- A new vCenter Server instance must be deployed in an unconfigured state, except that it must have a fully qualified domain name or IP address that matches the old one.
- Verify that the new vCenter Server instance has the same build number as the one in the backup file.
- Verify that the new vCenter Server instance has a size equal to or greater than the old one. If the old vCenter Server instance was customized to exceed the largest template size, the new one must be customized to the same size.
- Verify that no other backup or restore jobs are running.
- Verify that the destination storage location is accessible to the vCenter Server restore process.
Procedure
- Use the RecoveryRestoreJobRestoreRequest data structure to describe the restore operation.
- Issue a request to start the restore operation.
- Monitor the progress of the job until it is complete.
- Report job completion.
What to do next
After the vCenter Server instance is fully configured by the restore operation, you can resume using the vSphere Automation API endpoint for subsequent operations.