Backup

Update service backup configuration

Updates service backup configuration. Requires ADMIN auth key role. Setting the properties with null value, will reset the properties to theirs default values.

patch/v1/organizations/{organizationId}/services/{serviceId}/backupConfiguration

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization that owns the service.

serviceId, string uuid required

ID of the service.

Request body

BackupConfigurationPatchRequest required
backupPeriodInHours, number nullable

The interval in hours between each backup.

backupRetentionPeriodInHours, number nullable

The minimum duration in hours for which the backups are available. Must be a whole number of days between 24 (1 day) and 1080 (45 days) — i.e. a multiple of 24.

backupStartTime, string nullable

The time in HH:MM format for the backups to be performed (evaluated in UTC timezone). When defined the backup period resets to every 24 hours.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, BackupConfiguration

Example response

{
  "status": 200
}

Changes

No recorded changes to this operation across all 35 revisions of this API.