You can call this operation to query the backups of a MongoDB instance.


OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform debugging operations, such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
StartTime String Yes 2019-03-12T12:00Z

The start time of the query. It must be in the yyyy-MM-ddTHH:mm:Z format.

EndTime String Yes 2019-03-13T12:00Z

The end time of the query. It must be later than the start time. The format is yyyy-MM-ddTHH: mmZ.

DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

Note If you set this parameter to the ID of a sharded cluster instance, you must also specify the NodeId parameter at the same time.
Action String No DescribeBackups

The operation that you want to perform. Set the value to DescribeBackups.

NodeId String No d-bpxxxxxxxx

The ID of the shard in the sharded cluster instance.

Note This parameter can be used only when DBInstanceId is the ID of the sharded cluster instance.
BackupId String No 5664xxxx

The ID of the backup.

PageNumber Integer No 1

The number of the page. This value must be a non-zero positive integer. Default value: 1.

PageSize Integer No 30

The number of records on each page. Valid values: 30, 50, and 100. Default value: 30.

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
PageNumber Integer 1

The number of the page.

PageSize Integer 30

The number of records on each page.

RequestId String 8925E66F-1971-4C8C-90A7-F93BF1867E25

The ID of the request.

TotalCount Integer 1

The total number of backups.


The detailed list of all returned backups.

  └BackupDBNames String mongodbtest, new, test

The name of the backup database.

  └BackupDownloadURL String

The download URL of the backup file. If the download URL is unavailable, this parameter is an empty string.

  └BackupEndTime String 2019-03-13T04:34:57Z

The end time of the backup. The format is yyyy-MM-ddTHH: mm:ssZ.

  └BackupId Integer 11111111

The ID of the backup.

  └BackupMethod String Physical

The backup method.

  • Snapshot
  • Physical
  • Logical
  └BackupMode String Automated

The backup mode.

  • Automated
  • Manual
  └BackupSize Long 335520510

The size of the backup file. Unit: Bytes.

  └BackupStartTime String 2019-03-13T04:32:42Z

The start time of the backup. The format is yyyy-MM-ddTHH:mm:ssZ.

  └BackupStatus String Success

The state of the backup.

  • Success: The backup is successful.
  • Failed: The backup has failed.
  └BackupType String FullBackup

The backup type.

  • FullBackup
  • IncrementalBackup


Sample requests

http(s):// &Action= DescribeBackups
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes