Skip to content

Restoring from Snapshots

When restoring from a backup that has snapshots enabled, Armory restores from the latest (active) snapshot version by default.

To restore from a specific snapshot version, set the snapshot field on a topic in the Restore resource:

apiVersion: kannika.io/v1alpha
kind: Restore
metadata:
name: my-restore
spec:
source: "my-storage"
sink: "my-kafka-cluster"
config:
topics:
- source: "my-topic"
target: "my-topic"
snapshot:
version: 1

In this example, the restore will read data from snapshot v1 instead of the latest version.

  • The version field accepts a version number (e.g. 1), a v-prefixed string (e.g. "v1"), or "latest".
  • When snapshot is omitted, Armory defaults to the latest version.
  • If the specified snapshot version does not exist, the restore will fail with an error that lists the available versions.