Perform the following steps to restore a Kubernetes protection policy backup to an existing 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 an existing namespace on the original cluster.
Restore to an Alternate Cluster—Select this option to restore to an existing 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, when moving namespaces from a lower cluster version to a higher cluster version, or when 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 from one of the following options:
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.
Restore Only PVCs to restore PVCs without namespace resources.
Click
Next.
The
Restore Type page displays.
On the
Restore Type page, select
Restore to Existing Namespace, and then select a namespace from the
Select Namespace list. Click
Next.
The
PVCs page appears, displaying the PVCs in the namespace that you plan to restore, along with the PVC configuration in the original target namespace.
On the
PVCs page, if the configuration of the namespace you want to restore is different from the configuration in the target namespace:
Select
Overwrite content of existing PVCs to restore selected PVCs and overwrite existing PVCs in the target location if they have the same name.
Select
Skip restore of existing PVCs to restore selected PVCs without overwriting existing PVCs in the target location if they have the same name.
Optionally, if you want to retire the storage class on the original cluster:
Select
Change storage class for PVCs to compatible storage class.
The PVCs that are part of the restore display.
Select the checkbox next to the PVCs for which you want to change the storage class on the target cluster.
NOTE The storage class will not be modified for existing PVCs being overwritten.
Click
Next.
If you selected
Change storage class for PVCs to compatible storage class, the
Storage Class page appears with a list of supported storage classes on the target cluster.
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 12.
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.
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: <>()\