Restoring volume snapshots
When you restore a volume snapshot, a new Persistent Volume Claim (PVC) gets created. The restored PVC is independent of the volume snapshot and the parent PVC.
A volume snapshot can be restored either the Persistent Volume Claim page or the Volume Snapshots page.
Restoring volume snapshots from the Persistent Volume Claims page
Important: You can restore volume snapshot from the Persistent Volume Claims page only
if the parent PVC is present.
- From the OpenShift Web Console go to .
- Click on the PVC name with the volume snapshot to restore a volume snapshot as a new PVC.
- In the Volume Snapshots tab, next to the volume snapshot you want to restore, click .
- Enter a name for the new PVC.
- Select the Storage Class name.Note: For RADOS Block Device (RBD), you must select a storage class with the same pool as that of the parent PVC. Restoring the snapshot of an encrypted PVC using a storage class where encryption is not enabled and vice versa is not supported.
- Select the Access Mode of your choice.
- For RBD, select Volume mode.
- Click Restore.
You are redirected to the new PVC details page.
Restoring volume snapshots from the Volume Snapshots page
- From the OpenShift Web Console go to .
- In the Volume Snapshots tab, next to the volume snapshot you want to restore, click .
- Enter a name for the new PVC.
- Select the Storage Class name.Note: For RADOS Block Device (RBD), you must select a storage class with the same pool as that of the parent PVC. Restoring the snapshot of an encrypted PVC using a storage class where encryption is not enabled and vice versa is not supported.
- Select the Access Mode of your choice.
- For RBD, select Volume mode.
- Click Restore.
You are redirected to the new PVC details page.
Verifying volume snapshot restoration
- From the OpenShift Web Console go to Persistent Volume Claims page. . Verify that the new PVC is listed in the
- Wait for the PVC to be in a Bound state.