Creating snapshot

25 views
Skip to first unread message

ukernel

unread,
Feb 18, 2020, 3:12:47 PM2/18/20
to qubes-users
Team good day, I wanted to check with you if there is any way to create snapshots in Qubes OS, without having to make a full backup of the AppVM. What happens is that I am testing with a Windows 7 VM and when I install the Qubes Windows Tools it stops working for some reason and the OS no longer starts. I had to reinstall it because I could not recover it or in safemode it started. And it took me almost a day to apply all OS security updates. I wouldn't want to go through that again.

Best regards,


Sent from ProtonMail mobile


brenda...@gmail.com

unread,
Feb 18, 2020, 4:26:30 PM2/18/20
to qubes-users
Assuming a standard qubes 4.0.x install, just clone the VM each time you are making risky changes...before each change of course.*

The use of lvm thin pool makes clones essentially use zero storage other that the bits where they diverge from the original VM, where copy on write preserves the differences.

Brendan

* ok, technically...make the clone anytime *before* shutting down the vm after the risky change...but purposely cutting it that close has risks.

Thierry Laurion - Insurgo Technologies Libres / Open Technologies

unread,
Feb 18, 2020, 8:42:01 PM2/18/20
to brenda...@gmail.com, qubes-users
I'm talking on top of my head but snapshots are supposed to be taken automatically, with 2 reverts possible, by default.

qvm-volume
qvm-volume revert windows:root
qvm-volume revert windows:private
-- Sent from /e/ Mail

Brendan Hoar

unread,
Feb 18, 2020, 9:02:17 PM2/18/20
to Thierry Laurion - Insurgo Technologies Libres / Open Technologies, qubes-users
On Tue, Feb 18, 2020 at 8:41 PM Thierry Laurion - Insurgo Technologies Libres / Open Technologies <thierry...@gmail.com> wrote:
I'm talking on top of my head but snapshots are supposed to be taken automatically, with 2 reverts possible, by default.

This may be up to interpretation but...

I assumed the original question w/r/t VM snapshots (a thing under VMWare and other VMMs) and not storage volume snapshots.

Cloning a VM is more akin to VMWare snapshots and doesn’t require tracking auto-expiration of numbered lvm snapshots.
Reply all
Reply to author
Forward
0 new messages