S srosco New Member Feb 3, 2025 1 0 1 Yesterday at 00:24 #1 Hello, is it possible to suspend all VMs in a single command (like qm suspend * --todisk 1 could have done it for example)? If possible by respecting the shutdown/startup order as the bulk suspend function does. Thanks in advance for your help
Hello, is it possible to suspend all VMs in a single command (like qm suspend * --todisk 1 could have done it for example)? If possible by respecting the shutdown/startup order as the bulk suspend function does. Thanks in advance for your help
fiona Proxmox Staff Member Staff member Aug 1, 2019 5,768 1,549 248 Yesterday at 11:09 #2 Hi, yes, the UI uses the API to do things, and you can also use the API via CLI. For bulk suspend the API endpoint is https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/suspendall e.g. pvesh create /nodes/pve8a1/suspendall --vms 115,117 Reactions: UdoB
Hi, yes, the UI uses the API to do things, and you can also use the API via CLI. For bulk suspend the API endpoint is https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/suspendall e.g. pvesh create /nodes/pve8a1/suspendall --vms 115,117