purge backup single vm

davidecaggiano

New Member
Apr 15, 2024
1
0
1
I would like to delete all the backups of a VM made with Proxmox Backup leaving only the last 7, currently I have not found a way to do it individually, but only for all VMs, I have not found any way even from SSH, can anyone help me?
 
Hi,
there is currently no such bulk action available for pruning snapshots.
However, what you could do is either sync the last 7 backups you would like to keep via a sync job into a different namespace, by applying the corresponding filters for the sync job and then prune the whole old group or you could create a small script listing all snapshots, filtering out the ones you would like to keep and forget the others via the proxmox-backup-client