fastback icon indicating copy to clipboard operation
fastback copied to clipboard

retention policy to retain a snapshot for every n of time

Open liabri opened this issue 3 years ago • 4 comments

Let me give an example, to keep at least 1 snapshot for every 1 week, regardless if this 1 week was 24 weeks ago (where we would now have 24 snapshots for every one of those 24 weeks). I like to see the history of my world, and with the way snapshots work I don't think space is a particularly big issue.

liabri avatar Nov 03 '22 00:11 liabri

Hi. There currently is a daily retention policy:

Daily: Keep the last snapshot from each day, plus all snapshots from the last n days

Just so I understand: are you saying you want one that works like that except that it keeps one per week rather than one per day?

pcal43 avatar Nov 03 '22 01:11 pcal43

Well the week was just an example, I would likely set it up to maybe 2-3 weeks, but my point is a configurable period would be nice!

liabri avatar Nov 03 '22 01:11 liabri

Right. But I'd prefer to keep things as simple as possible. A lot of backup tools do daily/weekly/monthly as a standard policy (Grandfather-father-son).

If there were a weekly policy, and space doesn't matter much, would that be close enough? (Weekly vs every 2-3 weeks)

pcal43 avatar Nov 04 '22 01:11 pcal43

I think weekly is just fine, not perfect but I understand the battle of weighing complexity/simplicity and features. If you consider it to be too complex for what it is, keeping it at the typical daily/weekly/monthly policies is just fine I think.

liabri avatar Nov 04 '22 02:11 liabri