k8up-io / k8up

Kubernetes and OpenShift Backup Operator
https://k8up.io/
Apache License 2.0
617 stars 63 forks source link

Bug/fix restore single file backup command #911

Closed poyaz closed 9 months ago

poyaz commented 9 months ago

Summary

I added a function to check if the snapshot contains one file, no need to create a folder and then symlinked this folder with a real restore path (In #803, when the restore snapshot makes panic because of the use of PVC path)

Checklist

For Code changes