APIs to manage, protect, or recover MongoDB Ops Manager assets
This section contains information of MongoDB Ops Manager APIs.
The following sections are the part of this topic:
Table: Add a MongoDB Ops Manager
API | Important variables and options |
|---|---|
POST
/netbackup/asset-service/queries
GET
/netbackup/asset-service/queries/{aqcId}
GET
/netbackup/asset-service/workloads
/mongodb-ops-manager/assets
|
Note: Ensure that the credentials with credentialName exist. |
Table: Discover the MongoDB Ops Manager assets for given central URL of Ops Manager
API | Important variables and options |
|---|---|
POST /netbackup/admin/discovery /workloads/mongodb-ops-manager/start POST /netbackup/admin/discovery/workloads /mongodb-ops-manager/stop GET /netbackup/admin/discovery/workloads /mongodb-ops-manager/status |
|
After discovery, you need to configure the preferred nodes for the replica sets in the cluster.
Table: Select preferred nodes of replica sets/shard in a cluster
API | Important variables and options |
|---|---|
POST /netbackup/asset-service/queries |
|
Once the preferred nodes of all replica sets/shard in the cluster are configured, the Protection Ready flag for the cluster will be displayed as Yes. Proceed to create the policies
Table: Create a MongoDB Ops Manager Policy
API | Important variables and options |
|---|---|
POST /netbackup/config/policies |
|
Other processes, like scheduling within the policy or initiating the policy backup, remain unchanged.
Table: MongoDB Ops Manager Recovery
API | Important variables and options |
|---|---|
POST /netbackup/recovery/workloads/ mongodb-ops-manager/scenarios/cluster /recover |
Note: If the value for recoverPointInTime parameter is not provided, the recovery of the databases will happen to current time. |