What the new deployment gets
The new deployment copies the source deployment’s settings:- Topology, replicas, sentinel, and shard count.
- FalkorDB version and the exact component version the source runs.
- CPU and memory, storage, modules and their arguments, services, external DNS domain, placement rules, and the metrics exporter setting.
- Labels and annotations you added. Those that KubeBlocks or
kubectlkeep about the source itself are dropped.
Restore from the Admin UI
- Open Deployments, then the deployment the backup was taken from.
- Go to Backups.
- Select Restore on the backup to use.
- Enter a name for the new deployment. It must be a valid Kubernetes name and not already used in the namespace.
- Select Restore Now.
Restore with the API
backupNamespace defaults to the source’s namespace. volumeRestorePolicy defaults to Parallel; Serial restores one volume at a time.
With the CLI:
- The source deployment or the backup doesn’t exist (
404). - The backup isn’t a full backup, or isn’t ready to restore (
400). - A deployment with the new name already exists in the namespace (
409).
Sharded deployments
A sharded backup is loaded into the new shards after they form, by a different mechanism from standalone and replication restores. The new deployment can show as running before every shard has its data, so check that the data arrived before you switch clients to it.Validate
kubeblocks.io/restore-from-backup annotation. A standalone or replication clone reaches Running once the data is restored; a sharded clone reaches it before its data is loaded, so Running alone doesn’t mean the data is there. Either way, check the data itself, for example with a query you know the answer to.