Time zone issue for plans, checks, and prunes
Opened this issue · 3 comments
Note: if you have a question or need support please post in the discussions area.
Describe the bug
Plans with cron jobs, checks and prunes are skewed by 2 hours.
To Reproduce
Steps to reproduce the behaviour:
- Go to a plan a schedule it say for 3am.
- Click your repo, operation list and it is scheduled for exactly 5am
- The same goes for all the others I mentioned.
Expected behaviour
I'd like to know when/where to correct this.
Screenshots
Platform Info
- OS and Architecture Linux Debian Bookworm, backrest running in Docker
- Backrest Version 1.1.0
Additional context
I commented in this issue, but it got closed, unfortunately. #162
Sorry about that, seeing that I never actually commented on what I'd fixed in that bug. The right way to set the timezone is by setting TZ=<your timezone>
e.g. TZ=America/Los_Angeles
in your compose config.
I've gone ahead and updated the README and Wiki.
Thanks for taking note. That fixed the issue immediately.
I need to re-open this, just to double-check it's not my own mistake.
The timezone setting seems to work for plans and repository checks but NOT for repository prunes.
Could somebody please double-check?