Easy way to backup all VMs via the API, without enumerating them one by one?

victorhooi

Member
Apr 3, 2018
249
18
23
35
Hi,

We have a test lab for users to spin up VMs on demand.

Is there an easy way to call backup on all created VMs, without needing to explicitly specify the set?

(As a hack, I assume we can enumerate the VMs using the API, and then call backup individually on each one - but I wondered if there was perhaps a cleaner way, to just do a bulk "backup all my VMs please!")

Regards,
Victor
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!