openebs / velero-plugin

Velero plugin for backup/restore of OpenEBS cStor volumes
https://docs.openebs.io
Apache License 2.0
63 stars 32 forks source link

fix(restore): adding support to restore in an encrypted pool for ZFS-LocalPV #147

Closed pawanpraka1 closed 3 years ago

pawanpraka1 commented 3 years ago

fixes: https://github.com/openebs/zfs-localpv/issues/286

Signed-off-by: Pawan pawan@mayadata.io

Why is this PR required? What issue does it fix?:

Encrypted pool does not allow the volume to be pre created for the restore purpose.

What this PR does?: Here changing the design to do the restore first and then create the ZFSVolume object which will bind the volume already created while doing restore.

Does this PR require any upgrade changes?:

Backward compatibility is maintained by ZFS-LocalPV.

Depends On

https://github.com/openebs/zfs-localpv/pull/292