Modifies the backup policy of an ApsaraDB for ClickHouse cluster.
Operation description
Data backup is supported only for ApsaraDB for ClickHouse clusters that run version 20.3, 20.8, or 21.8.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:ModifyBackupPolicy |
none |
*EnterpriseDBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The cluster ID. |
cc-xxxxx |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| PreferredBackupTime |
string |
Yes |
The backup time. |
15:00Z-16:00Z |
| PreferredBackupPeriod |
string |
Yes |
The backup cycle. |
Monday |
| BackupRetentionPeriod |
string |
No |
The number of days to retain backups. |
7 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
F5178C10-1407-4987-9133-DE4DC9119F75 |
Examples
Success response
JSON format
{
"RequestId": "F5178C10-1407-4987-9133-DE4DC9119F75"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | StorageTypeDoNotSupportBackup | Current StorageType Does Not Support Backup. | The current storage type does not support backup |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.