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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.