I could, of course, but that woud mean I have to write everything from scratch and not reuse already debugged solutions. But I guess I will have to, I thought adding a snapshot was just a line in a database but wasn’t thinking that the config also needs to be stored, which makes “registering” snapshots independently of making them not really terribly robust, as I would have to guess what the config was at the time.
What I need is nothing terribly complicated, I just want a standard backup setup: keep x dailies, y weeklies, z monthlies and so on. Maybe extending snapshot.schedule to include a pattern and expiry per schedule would suffice for most people, I already see that I’m not the only one, see for example: Snapshots.schedule