You can protect your workloads by migrating the data between clusters.
Prerequisites
- Verify that both clusters use the same Kubernetes version. See Before migrating your cluster in the Velero documentation.
- Review the procedures for Start backing up Kubernetes clusters and Restore a Kubernetes cluster.
Procedure
- Start backing up the target Kubernetes cluster that you want to migrate.
- Specify the namespaces or resources, and backup bucket.
- Start backing up the destination Kubernetes cluster, where you want to migrate your workloads.
- Specify the namespaces or resources. Select the same backup bucket as the target cluster.
- Restore all the workloads to the destination Kubernetes cluster.
Example
You start backing up Cluster A with a destination bucket Bucket 1. Backups are generated and stored to Bucket 1. You start backing up Cluster B with a destination bucket Bucket 1. You restore all the workloads that are stored in Bucket 1 to Cluster B.