Expand description
The Restore CRD — a restore from a snapshot/identity to a PVC, or a passive
populator source. ADR-0001 §3.6, ADR-0003 §4.6.
Structs§
- From
Config - The
fromConfigsource: resolve a snapshot via aBackupConfig’s identity, even when noBackupCR exists yet (deploy-or-restore). ADR §4.6. - Identity
Source - The
identitysource: a raw kopiausername@hostname:pathidentity for foreign writers or snapshots aged out of the catalog. Requiresspec.repository. - PvcTemplate
- Template for a PVC the operator creates as the restore target. ADR §3.6.
- Resolved
Restore - The source resolved and pinned at admission, so a restore never silently retargets. ADR §4.6.
- Restore
- Auto-generated derived type for RestoreSpec via
CustomResource - Restore
Options - kopia restore behavior knobs. ADR §4.6.
- Restore
Policy - How the restore reacts to a missing snapshot and how long it waits. ADR §4.6 (G7).
- Restore
Progress - Live progress counters patched by the mover during a restore. ADR §3.6 status.
- Restore
Spec - A restore operation.
targetis optional: absence = passive populator mode, consumed by a PVC’sspec.dataSourceRef. ADR §3.6/§4.7. Desired state of aRestore: where to read from, where to write to, and how to behave when the snapshot is missing. ADR §3.6/§4.6. - Restore
Status - Observed state of a
Restore, written by the controller/mover. ADR §3.6 status. - Restore
Target Status - Resolved restore target details written to status. ADR §3.6.
- Restore
Timing - Start/end timestamps of a restore run. ADR §3.6 status.
Enums§
- OnMissing
Snapshot - What to do when the resolved source matches no snapshot. Closed enum. ADR §4.6 (G7).
- Restore
Phase - Lifecycle phase of a restore. Closed enum. ADR §3.6 status.
- Restore
Source - Where to restore from. Externally-tagged; exactly one variant. ADR §3.6/§4.6.
- Restore
Target - Where to restore to. Externally-tagged; exactly one variant when present. ADR §3.6.