Creates a backup policy for a specified ClickHouse Enterprise Edition cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:CreateBackupPolicy |
none |
*EnterpriseDBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The cluster ID. |
cc-2ze0eb0w182xh8549 |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| PreferredBackupTime |
string |
Yes |
The UTC time range to perform the backup. For example, |
10:00Z-11:00Z |
| PreferredBackupPeriod |
string |
Yes |
The backup cycle. Specify the days of the week for backups. Separate multiple days with commas ( |
Monday,Friday |
| BackupRetentionPeriod |
string |
No |
The number of days to retain backups. |
8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| 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.