snapshot solution: Existing snapshots that were taken after this one will be erased.

Hi Team, when I want to commit the older snapshots I'm getting warning stating " Existing snapshots that were taken after this one will be erased.". is there any way we can retain the latest snapshots as is in the chain? I knew cloning and template export options are there to secure that latest snapshot data but these are will consume additional space in storage and take time.

Commiting a snapshot means that you want to revert to that state, which means that all data afterwards is lost.Even if you keep the latest snapshot, it won't be usefull.For example you got the following: Install -> snap1 -> some data -> snap2 -> some data -> snap3 -> some data -> Current State If you revert to snap2 you will have the following:Install -> snap1 -> some data -> snap2 -> some data -> Current State (you always have some extra data generated - for example system logs) As you can see, you can't use snap3 as you got some data after powering up the VM after the restore to snap2 and you will loose that. Best Regards,Strahil Nikolov On Fri, Mar 5, 2021 at 8:32, dhanaraj.ramesh--- via Users<users@ovirt.org> wrote: Hi Team, when I want to commit the older snapshots I'm getting warning stating " Existing snapshots that were taken after this one will be erased.". is there any way we can retain the latest snapshots as is in the chain? I knew cloning and template export options are there to secure that latest snapshot data but these are will consume additional space in storage and take time. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y5PQGBQXWTJ6O3...

On Sat, Mar 6, 2021, 09:13 Strahil Nikolov via Users <users@ovirt.org> wrote:
Commiting a snapshot means that you want to revert to that state, which means that all data afterwards is lost. Even if you keep the latest snapshot, it won't be usefull. For example you got the following:
Install -> snap1 -> some data -> snap2 -> some data -> snap3 -> some data -> Current State
If you revert to snap2 you will have the following: Install -> snap1 -> some data -> snap2 -> some data -> Current State
(you always have some extra data generated - for example system logs)
As you can see, you can't use snap3 as you got some data after powering up the VM after the restore to snap2 and you will loose that.
User usually does not care of loosing such data if intentionally switches from snapshot to snapshot. I was expecting also the same behavior, to be able to switch between intermediate snapshots without loosing the latest ones. I can do this with internal snapshots in plain KVM and this is very useful when testing different versions/snapshots of an application.
Best Regards, Strahil Nikolov
On Fri, Mar 5, 2021 at 8:32, dhanaraj.ramesh--- via Users <users@ovirt.org> wrote: Hi Team,
when I want to commit the older snapshots I'm getting warning stating " Existing snapshots that were taken after this one will be erased.". is there any way we can retain the latest snapshots as is in the chain?
I knew cloning and template export options are there to secure that latest snapshot data but these are will consume additional space in storage and take time. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y5PQGBQXWTJ6O3...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/I47GULR3I5FPMD...

Sorry for bumping up this old thread but same here at our site. It doesn't matter to loose some data when switching from one snapshot to another one. A Warning should be enough for the user. Other Solutions do it the same way (like vsphere). Also, maybe displaying the Snapshot-Structure as a tree would be better to see which Snapshot is actually selected. The actual way to go back to a previous snapshot AND keeping the newer ones are actually only: - let it run in Snapshot preview Mode (and don't have anymore the ability to take new snapshots or clone into VM from any Snapshot) or - to clone the selected Snapshot to a new vm - is that correct? (the last one is for big VMs not really useable.) -- Greetings, Christian
participants (4)
-
Alex K
-
Christian Fischer
-
dhanaraj.ramesh@yahoo.com
-
Strahil Nikolov