Queries the backup list of an ApsaraDB for Tair (Redis® OSS-Compatible) database cluster instance.
Operation description
This operation applies only to cloud-native instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeClusterBackupList |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance. You can call the DescribeRegions operation to query the region ID. |
cn-zhangjiakou |
| InstanceId |
string |
Yes |
The instance ID. |
r-t4nj72oug5r5646qog |
| ClusterBackupId |
string |
No |
The ID of the cluster backup set. |
cb-hyxdof5x9kqbtust |
| PageSize |
integer |
No |
The number of entries to return on each page. Valid values:
|
30 |
| PageNumber |
integer |
No |
The page number. |
1 |
| StartTime |
string |
Yes |
The start time of the query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. |
2024-06-28T08:26Z |
| EndTime |
string |
Yes |
The end time of the query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. |
2024-07-01T09:26Z |
| NoShardBackup |
string |
No |
Specifies whether to display the details of the backup sets for cluster nodes. Valid values:
Valid values:
|
True |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
C009DA42-3B19-5B81-963D-1509DE2408DD |
| MaxResults |
integer |
The maximum number of entries returned for the current request. |
4 |
| PageNumber |
integer |
The page number, which is the same as the request parameter. |
1 |
| PageSize |
integer |
The maximum number of entries per page, which is the same as the request parameter. |
30 |
| FullStorageSize |
integer |
The size of the full backup files for the current instance. Unit: bytes. Full backups include daily scheduled backups, manual backups, and backups generated during cache analysis. Note
This value is independent of the number and size of the backup sets returned in the current request. It represents the total size of all valid full backups for the instance. |
1000 |
| LogStorageSize |
integer |
The size of the current instance log backup files. Unit: bytes. This value is valid only when the flashback feature is enabled. Note
This value is independent of the number and size of the backup sets in the response to the current request. It represents the total size of all valid instance log backups for the instance. |
5000 |
| FreeSize |
integer |
This parameter does not take effect. Ignore this parameter. |
100000 |
| ClusterBackups |
array<object> |
The list of cluster backup sets. Each cluster backup contains the backup sets of all nodes. |
|
|
array<object> |
The list of cluster backup sets. Each cluster backup contains the backup sets of all nodes. |
||
| IsAvail |
integer |
Indicates whether the cluster backup set is valid. The value is 0 if the backup sets of child nodes are incomplete or failed. |
1 |
| ClusterBackupId |
string |
The ID of the cluster backup set. |
cb-zmdqj2m3xyxjtdt0 |
| ClusterBackupStatus |
string |
The status of the cluster backup set. Valid values:
|
OK |
| ClusterBackupSize |
string |
The size of the cluster backup set. |
2048 |
| ClusterBackupStartTime |
string |
The start time of the cluster backup. The time is in the YYYY-MM-DDTHH:mm:ssZ format and displayed in UTC. |
2024-01-10T17:21:25Z |
| ClusterBackupEndTime |
string |
The end time of the cluster backup. The time is in the YYYY-MM-DDTHH:mm:ssZ format and displayed in UTC. |
2024-01-10T17:21:55Z |
| ClusterBackupMode |
string |
The cluster backup mode. |
Automated |
| ShardClassMemory |
integer |
The memory specification size of a single database node when the full backup was created. Unit: MB. |
1024 |
| Backups |
array<object> |
The collection of backup sets for all child nodes under a single cluster backup set. |
|
|
array<object> |
The details of the backup set. |
||
| BackupId |
string |
The ID of the backup file. |
514645788 |
| InstanceName |
string |
The name of the instance. |
r-bp1y4is8svonly****-db-0 |
| BackupDownloadURL |
string |
The public download URL of the backup file. |
http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb |
| BackupIntranetDownloadURL |
string |
The internal download URL of the backup file. Note
You can use this URL to download the backup file on an ECS instance that is connected to the current instance. Both instances must belong to the same VPC. |
http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb |
| RecoverConfigMode |
string |
This parameter does not take effect. Ignore this parameter. |
null |
| BackupStartTime |
string |
The start time of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format and displayed in UTC. |
2024-01-09T17:21:30Z |
| BackupEndTime |
string |
The end time of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format and displayed in UTC. |
2024-01-09T17:21:57 |
| BackupSize |
string |
The size of the backup file. Unit: bytes. |
1024 |
| IsAvail |
string |
Indicates whether the backup set is available. Valid values:
|
1 |
| BackupStatus |
string |
The backup status. Valid values:
|
OK |
| BackupName |
string |
The name of the backup. |
hins100322105_data_20240110012135.rdb |
| Engine |
string |
The database engine type. The value is fixed as redis. |
redis |
| ExtraInfo |
object |
The additional information. |
|
| CustinsDbVersion |
string |
The database engine version. |
5.0 |
| Progress |
string |
The backup progress. This parameter is displayed only for backups that are in progress. |
100% |
| ExpectExpireTime |
string |
The expiration time of the backup set. The time is in the yyyy-MM-ddTHH:mmZ format and displayed in UTC. |
2025-06-01T21:51:22Z |
Examples
Success response
JSON format
{
"RequestId": "C009DA42-3B19-5B81-963D-1509DE2408DD",
"MaxResults": 4,
"PageNumber": 1,
"PageSize": 30,
"FullStorageSize": 1000,
"LogStorageSize": 5000,
"FreeSize": 100000,
"ClusterBackups": [
{
"IsAvail": 1,
"ClusterBackupId": "cb-zmdqj2m3xyxjtdt0",
"ClusterBackupStatus": "OK",
"ClusterBackupSize": "2048",
"ClusterBackupStartTime": "2024-01-10T17:21:25Z",
"ClusterBackupEndTime": "2024-01-10T17:21:55Z",
"ClusterBackupMode": "Automated",
"ShardClassMemory": 1024,
"Backups": [
{
"BackupId": "514645788",
"InstanceName": "r-bp1y4is8svonly****-db-0",
"BackupDownloadURL": "http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb",
"BackupIntranetDownloadURL": "http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb",
"RecoverConfigMode": "null",
"BackupStartTime": "2024-01-09T17:21:30Z",
"BackupEndTime": "2024-01-09T17:21:57",
"BackupSize": "1024",
"IsAvail": "1",
"BackupStatus": "OK",
"BackupName": "hins100322105_data_20240110012135.rdb",
"Engine": "redis",
"ExtraInfo": {
"CustinsDbVersion": "5.0"
}
}
],
"Progress": "100%",
"ExpectExpireTime": "2025-06-01T21:51:22Z"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.