[Solved] Pruning multiple backups from single host

Big4SMK

Active Member
Jun 7, 2017
27
2
43
41
I have a host that makes two backups to a PBS. Let's call them rootfs and datafs. The rootfs is backed up hourly, the datafs only daily. When I try to prune by keeping only a single daily backup, the pruning only keeps either the rootfs or the datafs for each day, while I expect it to keep 1x rootfs and 1x datafs backup for each day. It looks like it is considering the rootfs and datafs backups as backups of the same data.

How can I make PBS understand that even though the rootfs.pxar and datafs.pxar come from the same host, they are actually very different datasets?
 
pruning is per group - so if you want separate pruning, use separate backup groups. the group is user-defined when doing a host backup (--backup-id), it just defaults to the host name.
 
Ah, I missed that option, but it does exactly what I need.

Thank you for the quick reply.
 

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!