Perform the following steps to restore a Kubernetes protection policy backup to a new namespace within a Kubernetes cluster:
Steps
From the
PowerProtect Data Manager UI, select
Restore > Assets, and then select the
Kubernetes tab.
The
Restore window displays all protected and unprotected namespaces.
Select the checkbox next to a protected namespace and click
Restore.
You can also use the filter in the
Name column to search for a specific namespace, or use the
Search field to search on specific criteria.
The
Restore wizard appears.
On the
Select Copy page:
Select the radio button next to a backup copy.
Click
Next.
NOTE If you click
Next without choosing a copy, the most recent backup copy is used.
On the
Cluster page, select one of the following options, and then click
Next:
Restore to Original Cluster—Select this option to restore to a new namespace on the original cluster.
Restore to an Alternate Cluster—Select this option to restore to a new namespace on a different cluster, and then select the cluster from the list.
A restore to an alternate cluster can be useful when:
Migrating namespaces from a cluster on-premises to a cluster in the cloud.
Moving namespaces from a lower cluster version to a higher cluster version.
Moving from one environment to another (for example, from a test environment to a production environment).
NOTE When restoring to an alternate cluster, ensure that this Kubernetes cluster has been added and discovered in the
PowerProtect Data Manager UI
Asset Sources window.
On the
Purpose page:
Select
Restore Namespace and Select PVCs to restore namespace resources and selected persistent volume claims (PVCs). Optionally, you can also select
Include cluster scoped resources to restore the cluster roles, cluster role bindings, and custom resource definitions (CRDs) that were backed up automatically as part of the Kubernetes protection policy. This option is only available for
PowerProtect Data Manager 19.6 and later Kubernetes protection policy backups.
Click
Next.
The
Restore Type page displays.
On the
Restore Type page, select
Restore to New Namespace, and then type a name for the new namespace. Click
Next.
The
PVCs page appears, displaying the PVCs in the namespace that are available for restore.
On the
PVCs page:
Clear the checkbox next to any PVCs that you do not want to restore.
Optionally, select
Change storage class for PVCs to compatible storage class if you want to retire the storage class on the original cluster and use the storage class on the target cluster for the PVCs being restored.
Click
Next.
If you selected
Change storage class for PVCs to compatible storage class in the previous page, the
Storage Class page appears with a list of the PVCs in the namespace that are available for restore, along with their current storage class.
If you did not select this option, the
Summary page appears with a confirmation message indicating that namespace resources, including pods, services, secrets, and deployments, are not overwritten during the restore, and that all resources that do not exist in the namespace will be restored. Go to
step 11.
On the
Storage Class page:
Select the checkbox next to a PVC for which you want to change the storage class on the target cluster, or select multiple PVCs to change all selections to the same storage class.
NOTE When changing the PVC storage class on the target Kubernetes cluster, if you select more than one PVC at a time on this page, only the storage classes that apply to all selected PVCs display. To view and select from all available storage classes, select one PVC at a time.
Click
Target Storage Class to select from the available storage classes.
The
Select Storage Class dialog appears.
Select from one of the available storage classes, and then click
Save to save your changes and return to the
Storage Class page.
NOTE PVCs that were backed up using first class disk (FCD) data path can only be restored to FCD storage classes. CSI-based PVCs, however, can be restored to FCD or CSI storage classes.
If changing the storage class for one PVC at a time, repeat steps a through c.
Click
Next.
PowerProtect Data Manager creates a mapping between the original storage class and the new storage class.
On the
Summary page, click
Restore.
An informational dialog box appears indicating that the restore has started.
Go to the
Jobs window to monitor the restore.
A restore job appears with a progress bar and start time.
Next steps
To view the new namespace as an asset within the
PowerProtect Data Manager UI, initiate a full discovery of the Kubernetes cluster from the
Asset Sources window.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\