Skip to main content
SnapCenter Software 4.7
A newer release of this product is available.

REST API supported for disaster recovery of SnapCenter Server

Contributors netapp-soumikd

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

Note You should provide the target path where the DR backups are stored.

/4.5/disasterrecovery/server/backup?targetpath={path}

GET

2

Create a new Server DR backup.

/4.5/disasterrecovery/server/backup

POST

3

Restores a SnapCenter Server from a specified Server DR backup.

Prerequisites

  • The alternate server host name should be same as the primary server, but the IP address can be different.

  • Server version should be the same as the primary server.

  • Ensure the DR backup files are copied to the new SnapCenter server using the following command:

    xcopy <Ssource_Path> \\<Destination_Server_IP>\<Folder_Path> /O /X /E /H /K {ex : xcopy C:\DRBackup \\10.225.81.114\c$\DRBackup /O /X /E /H /K}

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: <New IP> SC_Server_Name

For example, 10.225.81.35 SCServer1

The server etc/host file will not be restored. You can restore it manually from the DR backup folder.

/4.5/disasterrecovery/server/restore

POST

4

Delete the Server DR backup based on backup name.

/4.5/disasterrecovery/server/backup

DELETE

5

Enable or disable the storage DR

/4.5/disasterrecovery/storage

POST

Note Repository backup schedule will be restored only if you install the SnapCenter Plug-in for Windows and attach NetApp LUN to the server machine.
Note If the DLLs are corrupt, you can attempt to repair SnapCenter Server or correct the faulty installation.
Note If NSM or config files are corrupt, you can uninstall and reinstall the SnapCenter Server with the same version.

For more information, see the Disaster Recovery APIs video.