How to automatically remove backups from PBS when terminating VM from PVE?

Razva

Renowned Member
Dec 3, 2013
250
10
83
Romania
cncted.com
Hey,

PBS+PVE default behaviour is that when a VM is terminated on PVE the backup will be kept on PBS, which is OK for some scenarios. At the same time this means that new users, that have the same VMID, will have access to other users data.

Is there any way to sync deletion on PVE with PBS? Aka when a VM is deleted from PVE it should be deleted from PBS as well.

Thank you
 
no. you need to avoid VMID re-use in that case, or do your own lifecycle management that ensures any traces of the old usage is removed if that's what you want.
 
yes, but it's quite big, IIRC 999999999 is the max.
 

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

Buy now!