Closed malavolti closed 4 days ago
Hmm. Strange. This must be behavior coming from how restic implements forget policies: https://restic.readthedocs.io/en/latest/060_forget.html which I agree can be a bit counter intuitive.
Looking at https://github.com/restic/restic/issues/3722 and https://github.com/restic/restic/issues/2233 these could possibly be related? But I'm seeing that the local timezone should be picked up / stored in the snapshot so this may not be a problem for backrest. Deserves more investigation.
I'm likely going to close this as won't fix infeasible. It may be something to check with the restic forum about, I suspect this is the intended restic behavior though it might not be intuitive. It's probably not something backrest should try to change.
Describe the bug
I'm using TZ=Europe/Rome and the following Backrestic plan:
But the "daily" backup saved is not the last one (23:00), but the second (01:00) of the day.
Expected behavior I desire to keep the last daily backup, not the second one.
Platform Info