Backup/Restore of statically provisioned NFS persistent volumes #8335
Replies: 1 comment 1 reply
-
"Would it be safe to say that statically provisioned NFS PVs are NOT supported in Velero?" I don't think this is correct. It's probably better to say "Statically provisioned NFS PVs are supported by Velero with certain caveats" and then document that there must be unbound PVs in the cluster for the newly-restored PVCs to bind to. This is just the way static provisioning works in kubernetes. When you create a PVC, the cluster looks for an existing available and unbound PV that is large enough for the PVC request to bind to. If those are available, then Velero restore should work just fine with data restored to the restored PVCs which will be bound to available PVs. |
Beta Was this translation helpful? Give feedback.
-
Hi team,
Following the resolution of these issues (and some relevant quotes added):
#3450
#2721
#4967
#6489
#6623
https://docs.openshift.com/container-platform/4.12/backup_and_restore/application_backup_and_restore/troubleshooting.html#podvolumerestore-fails_oadp-troubleshooting
https://docs.okd.io/latest/backup_and_restore/application_backup_and_restore/troubleshooting.html#podvolumerestore-fails_oadp-troubleshooting
Would it be safe to say that statically provisioned NFS PVs are NOT supported in Velero?
There are a few possible solutions so far but none of them seem to work as expected:
I wanted to make this thread to act as some sort of documentation, so if any internauts were to pass by they could find this thread.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions