mailinabox icon indicating copy to clipboard operation
mailinabox copied to clipboard

Change hour of daily tasks to run at 1am

Open zoof opened this issue 1 year ago • 2 comments

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.

zoof avatar Aug 09 '24 15:08 zoof

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.

zoof avatar Aug 13 '24 13:08 zoof

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

kiekerjan avatar Aug 14 '24 20:08 kiekerjan

I tried to simplify it and then re-read the comments and realized why it was like that. All good. Thanks!

JoshData avatar Dec 22 '24 12:12 JoshData