Snapshots as bulk action?

akulbe

Member
Jan 1, 2023
55
4
13
Portland, OR
I accomplished what I was after with a bash one-liner, but it occurs to me to ask first… does this feature already exist in the UI?

As a recent refugee from another hypervisor, one of its features that was convenient was the ability to select multiple VMs for snapshot creation.

When I highlight a host in the Datacenter view, the only bulk actions I see available are Start, Shutdown, Suspend, and Migrate. Is there a way to do the same, but for Snapshots?

If not, please consider this an enhancement request. :D

Thank you, folks, for your work!
 
No, you cant do multi-VM snapshot neither from GUI nor from CLI/API as a single request.

If you'd like you have your request considered, you should file it in https://bugzilla.proxmox.com . I'd imagine it would go nicely with "pool" functionality where VMs can be grouped.

That said, the hypervisor you ran away from had a very rigid and predictable storage configuration. In PVE you have much more flexibility and with it comes complexity. For example, if your backend storage is NFS and disk images are stored as QCOW, trying to snapshot multiple QCOWs simultaneously will lead to very sad experience. I suspect LVM (thin) is also not very kind to concurrent allocation requests.

But perhaps you are fine with with serialized snapshots as long as you have one button to click. You should explain all of that in the bugzilla.

Good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
In PVE you have much more flexibility and with it comes complexity. For example, if your backend storage is NFS and disk images are stored as QCOW, trying to snapshot multiple QCOWs simultaneously will lead to very sad experience. I suspect LVM (thin) is also not very kind to concurrent allocation requests.
Yes, I concur. Atomic snapshots of groups of VMs are only possible with storage support e.g. ZFS, where you can snapshot multiple snapshots via recursive snapshotting, proper dataset trees required. I used this in the past especially for group snapshots, but this is a very, very uncommon thing to do.
 
  • Like
Reactions: Johannes S
Snapshot or backup are basically only a different action that needs to be executed per VM.
So a copy of backup job scheduler but for making snapshots would be fine. Manual actions could be triggered with "run now" button. So no new "bulk action" needed.
 
  • Like
Reactions: IsThisThingOn