GitHub user pankajfromcomhard closed a discussion: Way to Restore a Specific VM from Hourly Snapshots in Apache CloudStack 4.19.1.2
We are using NetApp SAN storage as the primary NFS storage in our Apache CloudStack 4.19.1.2 environment. Our SAN has the capability to take hourly snapshots of the NFS volume, ensuring data safety and quick recovery. In case one of our got some files deleted of missing , we create a clone of the NFS repository in our NetApp SAN and mount it as a different NFS share within Apache CloudStack. This allows us to access the data as it was one hour earlier. We have found a solution to restore a specific VM from these snapshots: Clone the snapshot in the SAN box. Create an NFS mount point. Mount it on a KVM host. Copy the volume file from the snapshot NFS to the live NFS (named ABCsnapvolume). On the existing VM, add a new volume (abcnewvolume). Detach the new volume. Copy the ID of the newly created volume (abcnewvolume). Delete the new volume (abcnewvolume). Change the ID of ABCsnapvolume to match abcnewvolume. Attach ABCsnapvolume to the VM. Now, the files from one hour ago are accessible from the snapshot VM disk. Does anyone have a shorter or more efficient method to achieve this restoration? Looking forward to insights from the community! GitHub link: https://github.com/apache/cloudstack/discussions/10464 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org