What is the nature and description of the request?
- As per[ product documentation |https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/backup_and_restore/index#storage-class-mapping-oadp_oadp-advanced-topics] currently we can run a storageclass mapping during the restore phase. This allows restoring all the PV from a source storageclass into a target storageclass.
- The problem comes when it is required to restore the PersistentVolumes from the same source StorageClass into multiple target storageclasses (each PV needs to be restored into a different storageclass). Find and example below:
Source PV | Source StorageClass | Target PV | Target StorageClass |
---|---|---|---|
PV_1 | StorageClassA | restored_PV_1 | StorageClassB |
PV_2 | StorageClassA | restored_PV_2 | StorageClassB |
PV_3 | StorageClassA | retored_PV_3 | StorageClassC |