I have a strange backup situation I need help with.
We have 2 4TB HDDs that we use for backup. I currently have them mounted each individually to maximize backup space, and minimize risk of loss of data if one fails. I've setup my vm backups to alternate between the two disks based on the day being even or odd, odd days to disk1 even days to disk2.
The issue I'm running into is with retaining old backups. I keep 4 months of backups but I just need 1 backup per month, I don't need the month on both disks. I haven't figured out a way to do this via retention policy.
I've considered mergerfs, but it doesn't have the granular control of which backups end up on which disk, which might loss of a whole vms backups if one disk goes down. I'm thinking I'll have to just write a script to prune by month on a monthly basis, but if there are alternative options I'd love to explore them.
We have 2 4TB HDDs that we use for backup. I currently have them mounted each individually to maximize backup space, and minimize risk of loss of data if one fails. I've setup my vm backups to alternate between the two disks based on the day being even or odd, odd days to disk1 even days to disk2.
The issue I'm running into is with retaining old backups. I keep 4 months of backups but I just need 1 backup per month, I don't need the month on both disks. I haven't figured out a way to do this via retention policy.
I've considered mergerfs, but it doesn't have the granular control of which backups end up on which disk, which might loss of a whole vms backups if one disk goes down. I'm thinking I'll have to just write a script to prune by month on a monthly basis, but if there are alternative options I'd love to explore them.