RestoreTest
RestoreTest object- no other properties
idstring requiredtenant_idstring requiredThe account tested
policy_tenant_idstring requiredbackup_idstring requiredserver_idstring requiredServer the sandbox ran on
job_idstring requiredtriggerstring requiredAllowed values:"schedule""manual"statestring requiredAllowed values:"running""passed""warning""failed"error_codestring requiredThe first failing (or, for warning, first warning) check's code, or why the test could not run
targetstring requiredWhere the backup was read from: s3, sftp, gdrive, onedrive, dropbox or local
linksinteger requiredBackups in the chain read
rto_msinteger requiredTime the restore work took: an estimate of the time to restore the account
rpo_secondsinteger requiredAge of the backup when tested: what a restore then would lose
backup_atstring (date-time) | null requiredstarted_atstring (date-time) requiredfinished_atstring (date-time) | null requiredphases_msmap<string, integer> requiredfetch, verify, database, site
Used by
| POST | /api/v1/tenants/{tid}/restore-tests 202 | Test one account's newest backup now, in a sandbox on a server; never touches what runs |
| GET | /api/v1/tenants/{tid}/restore-test-history | The 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 |