Not sure what storage system you are using, but with NetApp as the backend,
you can

- Stop the VM from within Cloudstack
- Login to a host, locate the volume(s)  you want to restore and rename
them (XXX.bak)
- perform a "volume snapshot restore-file" with the appropriate parameters
to restore individual files from the snapshot of your choice. Make sure you
use "restore-file" and not "restore" :)
- Power the VM on from within Cloudstack

----
Steve Fuller
steveful...@gmail.com

On Fri, Feb 7, 2025 at 7:40 AM pankajfromcomhard (via GitHub) <
g...@apache.org> wrote:

>
> GitHub user pankajfromcomhard created a discussion: Best Way to Restore a
> Specific VM from Hourly Snapshots in Apache CloudStack 4.19.1.2
>
> 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.
>
> ![Image](
> https://github.com/user-attachments/assets/d1701bd5-4ca6-423f-b764-d8594d79d5d7
> )
>
> GitHub link: https://github.com/apache/cloudstack/discussions/10346
>
> ----
> This is an automatically sent email for users@cloudstack.apache.org.
> To unsubscribe, please send an email to:
> users-unsubscr...@cloudstack.apache.org
>
>

-- 
Steve Fuller
steveful...@gmail.com

Reply via email to