[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.