Restoring a Kubernetes Namespace or Cluster-Level Entities Out of Place

Updated

On this page

You can restore an application out of place to any Kubernetes cluster that is added to Commvault, for application migration or disaster recovery. You can migrate Kubernetes applications between different Kubernetes distributions, clusters, and StorageClasses. Commvault requires the source and destination cluster to use the same major release of Kubernetes. For example, you can restore Kubernetes 1.23 to Kubernetes 1.23.

Procedure

  1. From the navigation pane, go to Protect > Kubernetes.

    The Applications page appears.

  2. On the Application groups tab, in the row for the application group that contains the content that you want to restore, click the action button , and then click Restore.

    The Select restore type page appears.

  3. Click Namespace and cluster level.

    The Restore page appears.

  4. Select the content to restore:

    • To restore the entire cluster, select all namespaces, and then click Restore full cluster.

    • To restore specific namespaces, select the namespaces, and then click Restore.

      The Restore options dialog box appears.

  5. For Type, select Out of place.

  6. For Destination cluster, select the cluster to restore the content to.

    You can select any Kubernetes cluster that is added to Commvault.

  7. From the Access node list, select the access node to perform the restore.

    For optimal performance, select an access node that has low latency to the Kubernetes cluster and the backup copy.

  8. To specify the source and destination storage classes, under Storage class mapping, click Add, and then select the storage classes.

  9. To delete and overwrite existing data, move the Unconditionally overwrite if it already exists toggle key to the right, and then click Yes in the confirmation dialog box.

    If any data matching the restore data exists in the destination, Commvault deletes the existing data before starting the restore process.

  10. Click Submit.