Not supported
A backup can’t be restored into a deployment that already exists. The Admin UI doesn’t offer it, and the API rejects it:POST /api/clusters/<name>/restores always answers 400 Bad Request and points to the clone endpoint.
KubeBlocks restores FalkorDB data only while it creates a deployment:
- Standalone and replication. The backup is unpacked into the new, empty data volumes before FalkorDB starts. The restore step refuses a volume that already holds data, so it can’t overwrite a running deployment.
- Sharded. The backup is loaded into the new shards once they form, so the deployment can show as running before every shard has its data. Check the data on the new deployment before you switch to it.
Replace a deployment’s data
To bring a deployment back to the state of a backup, restore the backup to a new deployment and move your applications to it:- Restore the backup to a new deployment. The new deployment gets the source’s settings and the backup’s data.
- Wait until the new deployment is Running, then check the data on it, for example by counting the nodes in a graph you know.
- Point your applications at the new deployment. It has its own service names and its own generated password: open the deployment in the Admin UI and copy them from Connection Details on the General tab.
- Once nothing uses the old deployment, delete it.