Skip to content

rune snapshot

Terminal window
rune snapshot <subcommand> [flags]
rune snap <subcommand> [flags] # short alias

A Snapshot is a namespaced point-in-time copy of one volume. See the storage concept for the lifecycle.

Only drivers that advertise Capabilities.Snapshots = true accept snapshot writes. The API server rejects unsupported writes up-front (local-host volumes cannot be snapshotted, for example).

CommandPurpose
rune snapshot listList snapshots in a namespace.
rune snapshot get <name>Show one snapshot.
rune snapshot create <volume>Snapshot an existing volume.
rune snapshot delete <name>Delete a snapshot (two-phase via the driver).
rune snapshot restore <name>Provision a new volume from a snapshot.
Terminal window
# List
rune snapshot list -n prod
# Across all namespaces
rune snap list -A
# Take an ad-hoc snapshot — name auto-generated
rune snapshot create pgdata-postgres-0 -n prod
# Take a named snapshot
rune snapshot create pgdata-postgres-0 \
--name pgdata-2025-11-15 \
-n prod
# Inspect
rune snapshot get pgdata-2025-11-15 -n prod -o yaml
# Delete
rune snapshot delete pgdata-2025-11-15 -n prod
# Restore into a new volume row
rune snapshot restore pgdata-2025-11-15 \
--as pgdata-restore \
-n prod

rune snapshot restore is a thin alias of rune volume restore.

FlagDefaultNotes
-n, --namespacedefaultTarget namespace.
-A, --all-namespacesfalseList across every namespace.
-o, --outputtabletable, json, yaml, name.
-l, --selectorLabel selector.
FlagDefaultNotes
-n, --namespacedefaultTarget namespace.
-o, --outputtableget only.
FlagDefaultNotes
-n, --namespacedefaultSource volume namespace.
--name<volume>-snap-<unix>Snapshot name.
--ensure-namespacefalseAuto-create the target namespace if missing.
FlagDefaultNotes
-n, --namespacedefaultSource snapshot namespace.
--asRequired. Name of the new volume.