All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeDataBackupSet

Last Updated:Nov 14, 2025

You can call this operation to query the information about the backup sets of an OceanBase cluster.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
oceanbase:DescribeDataBackupSetnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
StatusstringNo

The status of the backup sets to be queried.

Enumeration Value:
  • BEGINNING
  • DOING
  • DONE
  • FAILED
  • OVERDUE
  • UNKNOWN
DONE
BackupObjectTypestringNo

The object type of the backup sets to be queried.

Enumeration Value:
  • cluster
  • tenant
  • table
  • database
tenant
StartTimestringYes

The backup start time, in the format of yyyy-MM-dd T HH:mm:ss Z (UTC time).

2022-12-27T16:00:00Z
EndTimestringNo

The backup end time.

2023-01-06T15:59:59Z
PageNumberintegerNo

The page number, which takes effect in a pagination query.

1
PageSizeintegerNo

The number of rows to return on each page.

  • Maximum value: 100.
  • Default value: 10.
10

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

TotalCountinteger

The total count.

2
RequestIdstring

The ID of the request.

EE205C00-30E4-****-****-87E3A8A2AA0C
Dataarray<object>

The returned data.

Dataobject

The details of backup sets.

EndTimestring

The backup end time.

2023-04-13T03:38:10Z
Statusstring

The status of the backup set.

RUNNING
Typestring

The backup type.

manual
StartTimestring

The backup start time.

2020-05-22T17:04:18
DataSizeinteger

The size of the backup set.

31457280
Policystring

The backup strategy.

automated
SetIdinteger

The ID of the backup set.

imm-test-set-cb****ee-b7d7-11ed-956f-****3e10bd70
Methodstring

The backup method.

logical
Checkpointstring

The checkpoint.

2023-05-15T07:11:08Z
DataVersioninteger

The data version.

1678847020352
BackupObjectTypestring

The backup object type.

cluster
BackupObjectsarray<object>

The backup objects.

BackupObjectsobject

The details of backup objects.

ClusterNamestring

The name of the cluster.

test-****way
TenantNamestring

The name of the tenant.

ob2mr3oae0****
DatabaseTablesListarray<object>

The databases and tables in the backup set.

DatabaseTablesListobject

The details of databases and tables in the backup set.

Databasestring

The name of the database.

sms_pre
Tablesarray

The tables.

Tablesstring

The details of tables.

{'Tables': []}
BackupResultsarray<object>

The backup results.

BackupResultsobject

The details of backup results.

ClusterNamestring

The name of the cluster.

container-opa-****-02
TenantNamestring

The name of the tenant.

ob2mr3oae0****
TableBackupResultsarray<object>

The table backup results.

TableBackupResultsobject

The details of table backup results.

Databasestring

The name of the database.

order_ce****_online
Tablestring

The name of the table.

tr_sale_order_****
Statusstring

The backup status.

RUNNING
Messagestring

The error description.

Create tag success
DownloadTaskStatusstring

The status of the download task corresponding to the target backup set.

not_exist
DownloadTaskIdlong

The ID of the download task corresponding to the target backup set.

100***012
Validitystring

The validity, which can be left empty.

VALID
Progressstring

The backup progress.

52
StorageClassstring

The type of the backup set. Valid values:

  • standard: level-1 backup
  • archive: second backup
standard

Examples

Sample success responses

JSONformat

{
  "TotalCount": 2,
  "RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
  "Data": [
    {
      "EndTime": "2023-04-13T03:38:10Z",
      "Status": "RUNNING",
      "Type": "manual",
      "StartTime": "2020-05-22T17:04:18",
      "DataSize": 31457280,
      "Policy": "automated",
      "SetId": 0,
      "Method": "logical",
      "Checkpoint": "2023-05-15T07:11:08Z",
      "DataVersion": 1678847020352,
      "BackupObjectType": "cluster",
      "BackupObjects": [
        {
          "ClusterName": "test-****way",
          "TenantName": "ob2mr3oae0****",
          "DatabaseTablesList": [
            {
              "Database": "sms_pre",
              "Tables": [
                "{'Tables': []}"
              ]
            }
          ]
        }
      ],
      "BackupResults": [
        {
          "ClusterName": "container-opa-****-02",
          "TenantName": "ob2mr3oae0****\n",
          "TableBackupResults": [
            {
              "Database": "order_ce****_online",
              "Table": "tr_sale_order_****",
              "Status": "RUNNING",
              "Message": "Create tag success"
            }
          ]
        }
      ],
      "DownloadTaskStatus": "not_exist",
      "DownloadTaskId": 0,
      "Validity": "VALID",
      "Progress": 52,
      "StorageClass": "standard"
    }
  ]
}

Error codes

HTTP status codeError codeError message
500InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-04-22The Error code has changed. The response structure of the API has changedView Change Details
2024-02-02The Error code has changedView Change Details