Restoring an OCI Cache Cluster from a Backup
Restore an OCI Cache cluster by creating a new cluster from an existing backup. The new cluster must meet certain constraints to ensure compatibility with the backup data.
When restoring from a backup, consider the following:
- Non-sharded backups:
- Non-sharded backups cannot be restored as sharded clusters.
- You can change the node count and memory per node, but memory must be equal to or greater than the backup value.
- Sharded backups:
- The shard count must match the original backup.
- You can change the node count per shard (for example, reduce from 3 to 2 nodes per shard).
- The minimum memory is 2 GB per node.
Example:
- Backup: Non-sharded, 2 GB per node, Valkey 6
- Restore: You can set 4 nodes at 4 GB per node. You cannot set 1 GB per node or change to sharded mode.
Before you begin, ensure the following prerequisites:
- An active backup exists in the compartment.
- You have the required permissions to create clusters and access backups.
To restore a cluster from a backup:
After restoration: - The cluster starts provisioning independently from the parent cluster.
- After creation, you can later resize the cluster, such as changing the node count or shard count as allowed.
- The cluster appears in the Clusters list with status Creating, and transitions to Active when ready.
This task can't be performed using the CLI.
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
This task can't be performed using the API.