Back

/db2

v1 Endpoints

REST Endpoint
Description
GraphQL Query CDM Availability
GET /db2/db Returns summary information for Db2 databases connected to the Rubrik cluster. Available
GET /db2/db/request/{id} Retrieve details about a Db2 database-related request which includes the status of the database-related job. Available
GET /db2/db/snapshot/{id} Retrieve detailed information about a full or an incremental snapshot of a Db2 database. Available
POST /db2/db/snapshot/{snapshot_id}/{location_id}/download Downloads a specific Db2 database snapshot from the specified archival location. mutation downloadDb2Snapshot Available
GET /db2/db/{id} Retrieves the summary information for a Db2 database. Available
PATCH /db2/db/{id} Updating a Db2 database involves modifying the metadata associated with the Db2 database using the provided input values. Available
DELETE /db2/db/{id} Deletes a Db2 database. mutation deleteDb2Database Restricted
DELETE /db2/db/{id}/downloaded_snapshots Requests an asynchronous job to expire all downloaded data and log snapshots. You can specify a begin time or an end time or both to provide a time range to expire only the downloaded data and log snapshots that were taken within the specified time range. The time is relative to when the snapshot was originally taken, not when it was downloaded. You can also configure a flag to expire only the log snapshots. mutation expireDownloadedDb2Snapshots Restricted
GET /db2/db/{id}/recoverable_range Retrieves the recoverable ranges for a specified Db2 database. You can specify a beginning timestamp or an ending timestamp or both to retrieve only the recoverable ranges that fall within the specified period of time. Available
POST /db2/db/{id}/recoverable_range/download Downloads the most recent full snapshot and the log snapshots taken after the full snapshot, required for the point in time recovery of a Db2 database. mutation downloadDb2SnapshotsForPointInTimeRecovery Available
POST /db2/db/{id}/refresh Initiates an on-demand job to refresh a Db2 database. Currently, this is allowed only for Db2 HADR databases. mutation refreshDb2Database Available
GET /db2/db/{id}/snapshot Retrieves summary information about the full, incremental, and delta snapshots of a specified Db2 database. Available
POST /db2/db/{id}/snapshot Initiates a job to take an on demand, full snapshot of a specified Db2 database object. Use the GET /db2/db/request/{id} endpoint to monitor the progress of the job. mutation createOnDemandDb2Backup Available
GET /db2/instance Returns summary information for Db2 instances connected to the Rubrik cluster. Available
POST /db2/instance Adds a Db2 instance to the Rubrik cluster. mutation addDb2Instance Available
GET /db2/instance/request/{id} Get details about a Db2 instance related request which includes the status of the instance related job. Available
GET /db2/instance/{id} Retrieves the summary information for a Db2 instance. Available
PATCH /db2/instance/{id} Updates a Db2 instance. mutation patchDb2Instance Available
DELETE /db2/instance/{id} Deletes a Db2 instance. mutation deleteDb2Instance Restricted
POST /db2/instance/{id}/add_restore_config Initiates a Db2 asynchronous job to add a restore configuration for the source database in the target instance. Restricted
POST /db2/instance/{id}/refresh Initiates an on-demand job to discover a Db2 instance. mutation discoverDb2Instance Available
POST /db2/instance/{id}/remove_restore_config Initiates a Db2 asynchronous job to remove the restore configuration of the source database from the specified target instance. Restricted