"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMA

How many backups of my backups do I have?

So this is bugging me for a while and I'm just do dumb to get how I solve this, but here's the situation:
Given I take a local backup of my system daily and have a retention policy that keeps a backup of the past 7 days each, a backup of the past 4 weeks each and a backup of the past 6 month each. That's either 17 backups or less if you consider some backups being counted as a daily and weekly or as a weekly and monthly. But that's not that important.
The interesting part is, that I also take a remote backup of my local backup daily, which has the same retention policy, so it's cascading. Here there is obviously a huge overlap of backups, but I can't wrap my head around, how I calculate this.
Is anybody willing and/or interested to solve this for and with me?

5
2
Comments 2