Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Update service backup configuration

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

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

Authorizations

Path parameters

  • organizationIdstringrequired

    ID of the organization that owns the service.

    format: uuid
  • serviceIdstringrequired

    ID of the service.

    format: uuid

Request bodyJSON

  • backupPeriodInHoursoptionalnumber

    The interval in hours between each backup.

  • backupRetentionPeriodInHoursoptionalnumber

    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.

  • backupStartTimeoptionalstring

    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

JSON

200

Successful response

JSON
  • statusoptionalnumber

    HTTP status code.

    Example: 200
  • requestIdoptionalstring

    Unique id assigned to every request. UUIDv4

    format: uuid
  • resultoptionalobject
    3 properties
    • backupPeriodInHoursoptionalnumber

      The interval in hours between each backup.

    • backupRetentionPeriodInHoursoptionalnumber

      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.

    • backupStartTimeoptionalstring

      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.

Navigation