Best Way to Restore a Specific VM from Hourly Snapshots in Apache CloudStack 4.19.1.2 #10346
-
We are using SAN storage as the primary NFS storage in our Apache CloudStack 4.19.1.2 environment. To ensure data safety and quick recovery, we take hourly snapshots of our NFS storage. In case of an issue, we restore the snapshot and mount it as a new NFS share within Apache CloudStack. This allows us to browse files as they were one hour earlier. Is there any efficient method to restore a specific VM without restoring the entire NFS mount? Any best practices or automation suggestions from the community would be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
I am not sure I get your goal. Can you please explain it in more detail? Are you using Instance-Snapshots or Volume-Snapshots? Do you want to do a full recovery or is your goal to recover on file level? |
Beta Was this translation helpful? Give feedback.
@pankajfromcomhard , if I read your requirement correctly, you want to be able to point the disk for a VM to a different location??
This sounds like a new feature to me. If both locations are known as Primary storages, a quick (and in my not so humble opion an undesirable) hack would be to alter the path to the volume in the DB. I am not sure about the side effects and in your case it would require adding the snapshot as well. It can be implemented I think.