Queries the backup policy of a ClickHouse Enterprise Edition cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:DescribeBackupPolicy |
none |
*EnterpriseDBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The cluster ID. |
cc-bp100p4q1g9z3**** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The data returned. |
||
| 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. The time is in UTC. |
15:00Z-16:00Z |
| BackupRetentionPeriod |
integer |
The number of days for which the backup files are retained. |
7 |
| BackupSize |
string |
The size of the backup file. 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
See for a complete list.
Release notes
See Release Notes for a complete list.