Backups

Enable a backup schedule

Changed on
patch/backups/schedules/{id}/enable

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/backups/schedules/{id}/enable
  • Auth: HTTP bearer

Path parameters

idinteger required

Response

Backup schedule enabled

backup_typestring required
created_atinteger required
descriptionstring nullable
enabledboolean required
idinteger required
include_control_planeboolean required

When true, every run also produces a control_plane backup (Temps's own Postgres). When false, only the external service fan-out happens.

last_runinteger nullable
max_runtime_secsinteger nullable

Per-schedule wall-clock timeout override for backup jobs (seconds). null means the engine-family default is used. See temps_backup_core::timeouts::default_max_runtime_secs.

namestring required
next_runinteger nullable
retention_periodinteger required
s3_source_idinteger required
schedule_expressionstring required
tagsstring[] required
target_all_servicesboolean required

When true, the schedule auto-includes every external service on the host (and any future ones). When false, the schedule only targets services attached via backup_schedule_services.

updated_atinteger required

Example response

{
  "schedule_expression": "0 0 * * *"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status