Backups

Get a backup schedule by ID

Changed on
get/backups/schedules/{id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

Response

Backup schedule details

backup_typestring required
created_atstring date-time 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_runstring date-time nullable
max_runtime_secsinteger nullable

Per-schedule wall-clock timeout override for backup jobs (seconds). null means the default of four hours (14400 seconds) is used.

namestring required
next_runstring date-time 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_atstring date-time required

Example response

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

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the last_run response's property type changed from integer null to string null, and format from int64 to date-time for status

    • breaking

      the next_run response's property type changed from integer null to string null, and format from int64 to date-time for status

    1 more change in this revision