mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
A database dump is the whole database at one moment, so an account deleted since stays in the dumps taken before until they age out. The database row on the backups card now says so with the numbers that decide it: how many nightly dumps this server keeps, and after how many days the bucket's lifecycle rule removes the off-host copies. The lifecycle probe used to answer with the shortest expiry of any enabled rule, whatever its prefix, so a rule scoped to the account copies read as covering the dumps too. It now also answers for `database/` alone, counting only rules whose filter takes in a dump's key (prefix, legacy prefix, an And filter; a tag filter never matches untagged objects), and the card warns when no rule covers that prefix: dumps there, and the deleted accounts in them, would never be removed. The reading moved into its own module.