The user Wurzelseppi is experiencing an issue with backup frequency settings on their Discourse board, where backups are only occurring every second day despite having the frequency set to 1 (daily). Arkshine and gerhard investigate, with gerhard identifying a potential bug in the backup scheduling logic. The daily backup job runs at 00:00 but skips execution due to a condition that may not be met for daily backups, and jitter in the backup start time further complicates the timing. gerhard concludes this is a bug that should be fixed.
I configured, as you can see, backup frequency “1”, but the backups are made every second day.
Is it just, that I´m too dumb to understand it, or is it something else ?
I see, thanks! I was maybe thinking of some timing issue, but it doesn’t look this way.
I will try to reproduce it. Let’s hope someone else has a better idea of what’s happening.
There’s a daily background job that runs at 00:00 and enqueues a backup job for a later time. But this condition most likely isn’t true for daily backups, so it’s skipped.
And the fact that we are adding some jitter to the actual start of the backup doesn’t help either.