Perform the following steps to restore a Kubernetes protection policy backup to the original 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
Restore to Original Cluster, and then click
Next.
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 resources 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.
NOTE Selecting
Include cluster scoped resources restores all instances of cluster roles, cluster role bindings, and custom resource definitions (CRDs) that were present at the time of the backup.
Restore Only PVCs to restore PVCs without namespace or cluster resources.
Click
Next.
The
Restore Type page displays.
On the
Restore Type page, select
Restore to Original Namespace, and then 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 overwrite existing PVCs in the target location with the PVCs being restored if the PVCs 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 is not modified for existing PVCs being overwritten.
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 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: <>()\