NetBackup™ Web UI Kubernetes Administrator's Guide
- Overview of NetBackup for Kubernetes
- Deploying and configuring the NetBackup Kubernetes operator
- Configure settings for NetBackup snapshot operation
- Managing image groups
- Deploying certificates on NetBackup Kubernetes operator
- Managing Kubernetes assets
- Managing Kubernetes intelligent groups
- Protecting Kubernetes assets
- Recovering Kubernetes assets
- Troubleshooting Kubernetes issues
Restore from backup copy
You can follow the same procedure that is explained in restoring from snapshot, select the copy type as
. You can also restore to alternate target cluster.To restore from a backup copy
- On the left, click Workloads > Kubernetes.
- On the Namespace tab, click the namespace of the asset that you want to recover. Click the Recovery pointstab.
- The Recovery points tab shows you all the recovery points with the date, time, and copies of the backup. You can set filters to filter the displayed recovery points. Click the date in the Date column, to view the details of the recovery point. The Recovery points details dialog shows the resources that were backed up, like ConfigMaps, secrets, persistent volumes, pod, and so on. For details about these resources, see https://kubernetes.io/docs/reference
- Locate the recovery point that you want to restore.
- In the Copies column, click the # copies button. For example, if there are two copies, the button displays as 2 copies.
- In the list of copies, locate the Backup copy. Then click Actions > Restore.
- In the Recovery target page, to recover the asset to the same cluster source are auto populated. Click Next.
- Under Specify destination namespace, select any of the following options to restore:
Use original namespace to use original namespace. By default, this option is selected.
Use alternate namespace and enter the alternate namespace and then, click Next.
- Under Select resource types to recover, select any of the following resource types to restore:
All resource types to recover all resource types. By default, this option is selected.
Recover selected resource types to recover only the selected resource types.
- Under Select Persistent volume claims to recover, select any of the following persistent volume claims to recover:
All Persistent volume claims to recover all persistent volume claims. By default, this option is selected.
Recover selected Persistent volume claims to recover selected persistent volume claims.
Note:
If you do not select any option in Recover selected resource types, then include empty persistent volume claims option is selected and no persistent volume claims is restored.
If you do not select any options in the Recover selected persistent volume claims, then in the Recovery options section it includes empty persistent volume claims and no persistent volume claims is restored.
Note:
Restore only persistent volume enables toggle in the selected persistent volume claims to restore only the persistent volume. This setting does not create a corresponding persistent volume claim.
- Click on the Failure strategy section, to view the failure strategy options to recover.
- Under Select failure strategy to recover, select any of the following failure strategies to recover:
Note:
On occurrence of any failure while restoring metadata or PVCs, a restore job runs as per the failure strategy selected.
Fail Fast to terminate the restore for any failure occurrence.
Proceed Ahead to continue restoring the next PVC. If the parent image (first image) restore fails, then the restore job terminates.
Retry to specify a retry count for metadata or PVC restore. If the restore fails even after retries, then the restore job terminates.
Note:
The selected failure strategy is displayed in the Activity monitor.
Click Next.
- Click Start recovery to submit the recovery entry.
- In Activity monitor, click the Job ID to view the restore job details.
- On the Job Details page, click the Details tab. The restore job sequence (pre-restore, data movement, and then the post-restore job) is displayed.
Note:
A NetBackup Kubernetes restore uses a single job to restore all the persistent volume claims and a namespace. You can view logs in the
to track the restore of persistent volumes, persistent volume claims, or metadata.Note:
Netbackup does not support the Kubernetes restore job cancellation.
Note:
NetBackup versions 10.0 and later supports an alternate cluster restore only for a
job. In some cases, a restore to alternate cluster may fail partially due to different object versions on the cluster.