REST API supported for disaster recovery of SnapCenter Server
SnapCenter disaster recovery (DR) functionality uses REST APIs to backup SnapCenter Server. Using REST APIs, you can perform the following operations on the REST APIs Swagger page. For information to access the Swagger page, see How to access REST APIs using the swagger API web page.
What you will need
-
You should log in as the SnapCenter Admin user.
-
The SnapCenter Server should be up and running to run DR restore API.
About this task
SnapCenter Server DR supports all plug-ins.
Step | Description | REST API | HTTP method | ||
---|---|---|---|---|---|
1 |
Fetch existing SnapCenter Server DR backups
|
|
GET |
||
2 |
Create a new Server DR backup. Restores a SnapCenter Server from a specified Server DR backup. |
|
POST |
||
3 |
Restores a SnapCenter Server from a specified Server DR backup. Prerequisites
If the plug-in is not able to resolve the server hostname, log into each of the plug-in host and add the etc/host entry for the new IP in the format:
For example, 10.225.81.35 SCServer1 The server etc/host entries will not be restored. You can restore it manually from the DR backup folder. |
|
POST |
||
4 |
Delete the Server DR backup based on backup name. |
|
DELETE |
||
5 |
Enable or disable the storage DR |
|
POST |
For more information, see the Disaster Recovery APIs video.