Remove group from CLI


May 24, 2022

Please forgive if this has been posted but my initial search turned up no results.

I would prefer to use the CLI when deleting backups for VMs that I am deleting. I know it's possible to delete an individual backup, but is it possible to delete an entire backup set for a VM? In the GUI it's referred to as "Permanently forget group" when clicking on the trash can at the top level of a VM.

Thanks in advance!
Any thoughts/ideas? There must be a CLI way to do it since it can be done in the GUI.

there is currently no direct cli command built in to do this ( feel free to open a feature request here:
you can either manually remove the folder from the datastore (e.g. vm/100 )

or use the proxmox-backup-debug tool, but that is more intended for debugging purposes

alternatively you can also use some http client to make the right requests, but for this you need to create a ticket, etc.
Thanks! I'm surprised that there is not a command to do so. I will submit a feature request!


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 yours easily in our online shop.

Buy now!