API referenceSections

RestoreTest

RestoreTest object
  • no other properties
  • id string required
  • tenant_id string required

    The account tested

  • policy_tenant_id string required
  • backup_id string required
  • server_id string required

    Server the sandbox ran on

  • job_id string required
  • trigger string required
    Allowed values: "schedule" "manual"
  • state string required
    Allowed values: "running" "passed" "warning" "failed"
  • error_code string required

    The first failing (or, for warning, first warning) check's code, or why the test could not run

  • target string required

    Where the backup was read from: s3, sftp, gdrive, onedrive, dropbox or local

  • links integer required

    Backups in the chain read

  • rto_ms integer required

    Time the restore work took: an estimate of the time to restore the account

  • rpo_seconds integer required

    Age of the backup when tested: what a restore then would lose

  • backup_at string (date-time) | null required
  • started_at string (date-time) required
  • finished_at string (date-time) | null required
  • checks array<RestoreTestCheck> required
  • phases_ms map<string, integer> required

    fetch, verify, database, site

Used by

POST/api/v1/tenants/{tid}/restore-tests 202Test one account's newest backup now, in a sandbox on a server; never touches what runs
GET/api/v1/tenants/{tid}/restore-test-historyThe restore tests of this account's own backups, newest first, for its backups page (ADR 0188)
GET/api/v1/tenants/{tid}/restore-tests/{id}One restore test with its checks