mailinabox
mailinabox copied to clipboard
Change hour of daily tasks to run at 1am
With large amounts of email, full backups can take a lot of time. This PR addresses the first option suggested from https://discourse.mailinabox.email/t/full-backups-taking-a-long-time/12242.
Second commit is what I believe will do full backups only if it is a weekend day or if should_force_full returns True. Short of spinning up a new VPS, it is not possible for me to test.
I don't think it works like that. The variable full_backup is only set to True when backup.py is called with "--full". You should look at should_force_full
I tried to simplify it and then re-read the comments and realized why it was like that. All good. Thanks!