Skip to main content

Module restore

Module restore 

Source
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§

FromConfig
The fromConfig source: resolve a snapshot via a BackupConfig’s identity, even when no Backup CR exists yet (deploy-or-restore). ADR §4.6.
IdentitySource
The identity source: a raw kopia username@hostname:path identity for foreign writers or snapshots aged out of the catalog. Requires spec.repository.
PvcTemplate
Template for a PVC the operator creates as the restore target. ADR §3.6.
ResolvedRestore
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
RestoreOptions
kopia restore behavior knobs. ADR §4.6.
RestorePolicy
How the restore reacts to a missing snapshot and how long it waits. ADR §4.6 (G7).
RestoreProgress
Live progress counters patched by the mover during a restore. ADR §3.6 status.
RestoreSpec
A restore operation. target is optional: absence = passive populator mode, consumed by a PVC’s spec.dataSourceRef. ADR §3.6/§4.7. Desired state of a Restore: where to read from, where to write to, and how to behave when the snapshot is missing. ADR §3.6/§4.6.
RestoreStatus
Observed state of a Restore, written by the controller/mover. ADR §3.6 status.
RestoreTargetStatus
Resolved restore target details written to status. ADR §3.6.
RestoreTiming
Start/end timestamps of a restore run. ADR §3.6 status.

Enums§

OnMissingSnapshot
What to do when the resolved source matches no snapshot. Closed enum. ADR §4.6 (G7).
RestorePhase
Lifecycle phase of a restore. Closed enum. ADR §3.6 status.
RestoreSource
Where to restore from. Externally-tagged; exactly one variant. ADR §3.6/§4.6.
RestoreTarget
Where to restore to. Externally-tagged; exactly one variant when present. ADR §3.6.