Again I must stress that our backups are currently scheduled for 6:30AM UTC, which is 1:30AM ET. And yet, they’re running at 13:24 ET, which is 18:24 UTC.
Why? Wish I knew, really do wish I knew.
Had to kill it to fix notifications again.
From the log mailed to me. Backup started at 18:12. Why? Good question.
[2019-02-07 18:12:14] [STARTED]
[2019-02-07 18:12:14] 'system' has started the backup!
[2019-02-07 18:12:14] Marking backup as running...
I always use ET so I don’t have to worry about converting timezones in my head.
If Discourse needs the host OS to be in UTC, that really should be in the install guide.
And when scheduling backups in the UI, it specifies “in UTC”.
And the docker container is set to UTC and its time is correct so I’m not sure why the host OS tz would matter in the first place. The whole thing runs inside the container, how would it even know?
My guess is you’ll need to offset that backup time. It’s just plain weird to have a server OS think of time in anything other than UTC, as God intended.
OK, will make note of when the next backup runs and offset it. I do suggest you add it to the install guide.
Keep in mind that backups were scheduled for early morning UTC and yet they ran in early afternoon ET. But UTC is 5 hours ahead. So it isn’t a simple offset that can be calculated beforehand.
Why does taking a backup break notifications for the duration? And it seemed like backups never ended before, they just kept restarting. I’ll take closer note of what happens when/if backups fail next.
Any updates on this @gerhard? I’d really like to skip the double compression step because it is a) painful and b) pointless.
@wingtip we’re going to add the “skip retina thumbnail images in backups” setting soon, which should help. p.s. switch your server to UTC already, this is like sysadmin 101 stuff man.
I work in IT, and putting servers in UTC is not a standard or even best practice across the industry. It’s just your app that has a problem, if indeed that is the problem. If it is, I’ll make the change of course.
Absolutely untrue. I’ve managed online environments globally for around 20 years and UTC has been a must from the outset.
The only places I’ve seen local timezones set are tinpot organisations who deal with customers in their region and can’t think beyond their immediate locality.
Exactly, why would you run a server on a local timezone if you have a global audience. Even for basic support any user reports would mean working with the difference between two timezones, rather than their UTC offset.
Well, you’re the one complaining that you don’t like random dates and times on your server. If you want predictable dates and times on your server, use UTC.
Otherwise your backup time can be affected by daylight savings, and so on.
Absolutely, if that is causing our problem I’ll make the change and reboot the host to be sure. And not to beat a dead , but it should be in the install docs!