Since CockroachDB considers the cluster version when running a backup, this page refers to versions in a “v25.2.x” format. For example, both v25.2.1 and v25.2.2 are considered as v25.2 clusters for backup purposes.
Support for restoring backups into a newer version
Cockroach Labs supports restoring a backup taken on a cluster on a specific major version into a cluster that is on the same version or the next major version. Therefore, when upgrading your cluster from version N to N+1, if you took a backup on major version N, you can restore it to your cluster on either major version N or N+1. Additionally, you can skip an version when restoring a backup. Innovation releases are intermediate releases that introduce new features, but are not long-term supported versions. Other than skipping innovation releases, restoring backups outside major version N or N+1 is not supported. For example, backups taken on v24.1.x can be restored into v24.3.x (skipping the v24.2 innovation release). Backups taken on v24.3.x can be restored into v25.1.x:| Backup taken on version | Restorable into version |
|---|---|
| 23.2.x | 23.2.x, 24.1.x |
| 24.1.x | 24.1.x, 24.2.x, 24.3.x |
| 24.2.x (innovation) | 24.2.x, 24.3.x |
| 24.3.x | 24.3.x, 25.1.x (innovation), 25.2.x |
Cockroach Labs does not support restoring backups from a higher version into a lower version.

