Queries the backup settings for a specified ApsaraDB for ClickHouse cluster.
Operation description
Data backup is supported for ApsaraDB for ClickHouse clusters running version 20.3, 20.8, or 21.8.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:DescribeBackupPolicy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
cc-bp1qx68m06981**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PreferredBackupPeriod |
string |
The backup cycle. Valid values:
|
Monday |
| Switch |
string |
Indicates whether the backup feature is enabled. Valid values:
|
true |
| RequestId |
string |
The request ID. |
F5178C10-1407-4987-9133-DE4DC9119F75 |
| PreferredBackupTime |
string |
The backup time in UTC. |
15:00Z-16:00Z |
| BackupRetentionPeriod |
integer |
The backup retention period. Default value: 7. Valid values: 7 to 730. Unit: day. |
7 |
| BackupSize |
string |
The backup size. Unit: MB. |
123124 |
Examples
Success response
JSON format
{
"PreferredBackupPeriod": "Monday",
"Switch": "true",
"RequestId": "F5178C10-1407-4987-9133-DE4DC9119F75",
"PreferredBackupTime": "15:00Z-16:00Z",
"BackupRetentionPeriod": 7,
"BackupSize": "123124"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.