Hey 👋 ,
I have a Helm chart that creates a PVC using the Longhorn storage class, and everything is functioning perfectly.
However, I'm concerned about the disaster recovery (DR) plan. If, by some unfortunate event, my cluster gets destroyed, how should I go about restoring my cluster to its previous state?
To test this scenario, I deployed a Helm chart that creates a PVC, took a backup of my volume using Longhorn, and then deliberately removed the PVC created by the Helm chart from the cluster. then, I deleted the volume from Longhorn and restored the backup.
My concern is that when I redeploy the Helm chart, Longhorn generates a new volume, and it doesn't utilize the existing PV (the restored one) for the newly created PVC.
So, I'm wondering how the backup and restore mechanism is supposed to work in this context. What steps or configurations should be in place to ensure that the restored volume is correctly associated with the new PVC created by the Helm chart?"
Thank you