RestoreTestPolicy
RestoreTestPolicy objectA provider's periodic restore tests (ADR 0154)
- no other properties
tenant_idstring requiredenabledboolean requiredfrequencystring requiredAllowed values:"daily""weekly""monthly"hourinteger requiredUTC hour a run starts
- minimum 0
- maximum 23
scopestring requiredplans: only accounts whose plan has restore_tests on
Allowed values:"all""plans"sampleinteger requiredAccounts tested each run, those tested longest ago first; 0 is all
- minimum 0
- maximum 50
targetstring requiredoffsite: the newest backup whose whole chain is off the server, else the newest on its server; offsite_only: no test without one; latest: the newest
Allowed values:"offsite""offsite_only""latest"server_idstring requiredServer the sandbox runs on; empty is the server that made the backup. A backup read from its own server is always tested there
last_run_atstring (date-time) | null requiredupdated_atstring (date-time) required
Used by
| GET | /api/v1/tenants/{tid}/restore-tests/policy | The provider's restore test policy (the defaults until saved) |
| PUT | /api/v1/tenants/{tid}/restore-tests/policy | Change it |