Way to Restore a Specific VM from Hourly Snapshots in Apache CloudStack 4.19.1.2 #10464
Unanswered
pankajfromcomhard
asked this question in
Q&A
Replies: 2 comments
-
@pankajfromcomhard Once the volume file is copied from the NFS to the target primary storage, you can use the import data volumes/ import instance from the storage feature to import and then attach the volume to the instance. You will find this under the tools tab in the left pane in the UI. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What I've done
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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!
Beta Was this translation helpful? Give feedback.
All reactions