Skip to content

ksail cluster restore

Restores Kubernetes resources from a backup archive to the target cluster.
Resources are restored in the correct order (CRDs first, then namespaces, storage, workloads).
Existing resources can be skipped or updated based on the policy.
Example:
ksail cluster restore --input ./my-backup.tar.gz
ksail cluster restore -i ./backup.tar.gz --existing-resource-policy update
ksail cluster restore --input ./backup.tar.gz --dry-run
Usage:
ksail cluster restore [flags]
Flags:
--dry-run Print what would be restored without applying
--existing-resource-policy string Policy for existing resources: none (skip) or update (patch) (default "none")
-i, --input string Input backup archive path (required)
Global Flags:
--benchmark Show per-activity benchmark output