Read the cluster-state backup policy.
curl --request GET \ --url https://stratum.example.com/v1/backup/admin/config \ --header 'Authorization: Bearer <token>'Cedar action backup:Read. v1 — the singleton
operator policy for the cluster-state backup producer: enabled flag,
cadence, keep-last-N retention, target, and the age recipient the
bundles are encrypted to. The matching private identity lives OFF the
cluster; this API never sees it.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The backup policy.
The cluster-state backup policy (v1,) — the core.backup_config singleton.
object
Seconds between scheduled backups; the control-plane RPO.
Keep-last-N verified-complete bundles on the target.
Directory kind — absolute path visible inside the control-plane container (mount an off-cluster NFS export there; an on-cluster path is not DR-valid). Ignored for s3.
Per-kind target knobs. Only the fields for the active targetKind are meaningful; everything is optional.
object
Directory kind — refuse backup runs unless targetPath is a mountpoint (catches an unmounted NFS export before it silently collects bundles on the node’s own disk).
Http(s):// endpoint of any S3-compatible store (R2, garage, MinIO).
Bucket name; must already exist.
Optional key prefix for the bundles.
Region; defaults to “auto” (correct for R2).
Write-only - GET returns the mask (“********”); sending the mask back on PUT keeps the stored value.
Optional separate target for per-volume tenant-data backups. Empty falls back to the cluster-state target above — e.g. cluster-state → s3/R2, tenant-data volumes → directory/NFS.
Per-kind target knobs. Only the fields for the active targetKind are meaningful; everything is optional.
object
Directory kind — refuse backup runs unless targetPath is a mountpoint (catches an unmounted NFS export before it silently collects bundles on the node’s own disk).
Http(s):// endpoint of any S3-compatible store (R2, garage, MinIO).
Bucket name; must already exist.
Optional key prefix for the bundles.
Region; defaults to “auto” (correct for R2).
Write-only - GET returns the mask (“********”); sending the mask back on PUT keeps the stored value.
Age X25519 recipient (age1…) the bundles are encrypted to.
Opt volume backups into rbd export-diff chains: a full base then diffs shipping only changed blocks. Default false (full exports).
Example
{ "targetKind": "directory", "volumeTargetKind": ""}