Resources / BackupVerification
BackupVerification
Whether the newest backup of a store was opened with the store's key and found restorable, and how long ago (spec 0036 'Backups', spec 0047 section 8). The status is kept from the manifest the backup Worker writes next to every export; Ready is false when the verification failed or is older than maxAgeSeconds.
Overview
| API | platform.etorm.com/v1alpha1 |
| Resource | backupverifications (cluster-scoped inside its cluster) |
| Short names | bkv |
| Available in | the platform only |
| Status | written by a controller through /status |
Minimal example
apiVersion: platform.etorm.com/v1alpha1
kind: BackupVerification
metadata:
name: example
spec:
store: api
Spec
| Field | Type | Required | Default | Allowed | Description |
store | string (one of) | yes | | api, auth | Which store's backups. |
maxAgeSeconds | integer | | 7200 | at least 60 | How old the last successful verification may be before the record is not Ready. |
Status
| Field | Type | Required | Default | Allowed | Description |
observedGeneration | integer | | | | The generation of the spec this status describes. |
backupAt | integer | | | | Unix time the newest backup was made. |
verifiedAt | integer | | | | Unix time of the key holder's verification of it. |
ok | boolean | | | | Whether the verification succeeded. |
message | string | | | | Why it failed, or what is missing. |
revision | integer | | | | The store's revision in the backup. |
keys | integer | | | | Number of keys in the backup. |
bytes | integer | | | | Size of the sealed export. |
conditions | list of object | | | | Ready and Degraded. |
conditions[].type | string | | | | Ready or Degraded. |
conditions[].status | string | | | | True, False or Unknown. |
Columns in listings
| Column | From |
|---|
| Store | .spec.store |
| Ready | .status.conditions[?(@.type=='Ready')].status |
| Revision | .status.revision |
| Verified | .status.verifiedAt |
All resources