Restore the
vCenter Server
Appliance by Using the API
You can use the
Management
API
of the
vCenter Server
Appliance to restore the appliance from a backup file containing
the
vCenter Server
database and key components of the appliance.
Prerequisites
■
Verify that the backed up
vCenter Server
Appliance is powered off.
■
A new
vCenter Server
Appliance 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
Appliance has the same build number as the one in the backup
file.
■
Verify that the new
vCenter Server
Appliance has a size equal to or greater than the old one. If the
old
vCenter Server
Appliance was customized to exceed the largest template size, the
new one must be customized to the same size.
■
If the old
vCenter Server
Appliance was deployed with an external
Platform Services Controller, the new one must be also. If the old one was deployed
in an embedded configuration, the new one must be also.
■
Verify that no other
backup or restore jobs are running.
■
Verify that the
destination storage location is accessible to the appliance restore process.
Procedure
1
Create a restore request
object to describe the restore operation.
2
Issue a request to start
the restore operation.
3
Monitor progress of the
job until it is complete.
4
Report job completion.
What to do next
After the
vCenter Server
Appliance is fully configured by the restore operation, you can
resume using the
vSphere
Automation API endpoint for subsequent operations.