[SOLVED] Snapshots default to "Include RAM", any way to change the default? Permission constraint?

marc.charbonneau

New Member
Dec 4, 2025
3
2
3
We're running the latest PVE version 9.1 and our VM workloads reside on Ceph RBD.
I would prefer that our software development staff, which frequently use VM snapshots, avoid "Include RAM" with snapshots.
They are costly on storage and they rarely need this anyway.

Is there any way to change the default behavior to default to "Include RAM" being unchecked instead?

Alternatively, is it possible to control access through permissions? This way I could only enable this ability for select VMs that actually require it.
They authenticate to PVE's Web UI using an Active Directory realm, in case that makes a difference.

Thanks,
Marc
 
There is no option to manipulate that setting through any config variable yet. If you consider that patch useful (i'd support this idea), please head over to the official Proxmox Bugtracker and file a FR.

In the meantime, you can patch the function to default to unchecked (oneliner creates a dated backup and patches said function to default to unchecked)

sed -i.bak.$(date +%F) "/name: 'vmstate'/,/fieldLabel: gettext('Include RAM')/ s/checked: 1,/checked: 0,/" /usr/share/pve-manager/js/pvemanagerlib.js

Have fun :-)
 
Last edited:
There is no option to manipulate that setting through any config variable yet. If you consider that patch useful (i'd support this idea), please head over to the official Proxmox Bugtracker and file a FR.

In the meantime, you can patch the function to default to unchecked (oneliner creates a dated backup and patches said function to default to unchecked)

sed -i.bak.$(date +%F) "/name: 'vmstate'/,/fieldLabel: gettext('Include RAM')/ s/checked: 1,/checked: 0,/" /usr/share/pve-manager/js/pvemanagerlib.js

Have fun :-)
This worked great, thanks so much!
If you or anyone happens to know of a way to further constrain that ability via permissions, please do let me know. This would bring management of VM RAM included snapshots to the next level of management control.
 
Last edited:
  • Like
Reactions: fstrankowski
If you or anyone happens to know of a way to further constrain that ability via permissions, please do let me know.
Please file a Feature Request at the official proxmox bugzilla website linked above.
Also please change the thread to [SOLVED], appreciated.
 
  • Like
Reactions: marc.charbonneau