Exclude django caches from lists.o.o backups
The web frontend for mailman3 is built on django. Django has a fairly robust caching system to speed up page requests. Mailman3 has configured Django to use the DiskCache caching system which caches on disk under /var/lib/mailman/web-data/diskcache. This cache uses sqlite databases under the hood and unfortunately the files come and go and race our backup system. When the file disappears under the backup system during backups we record an error. Since these are caches that will be rebuilt through normal usage we don't actually need to back them up. Exclude this entire path from backups to avoid unwanted errors since these backups are simply not necessary. Change-Id: I9a5410fd9f952511c52268f06629e9bbaa20d947
This commit is contained in:
@@ -22,6 +22,8 @@ borg_backup_excludes_extra:
|
||||
- /var/backups/mailman-mariadb
|
||||
# Can regenerate indexes from source email files
|
||||
- /var/lib/mailman/web-data/fulltext_index
|
||||
# Django will rebuild its caches as requests are made
|
||||
- /var/lib/mailman/web-data/diskcache/
|
||||
# Exim Configs
|
||||
exim_queue_interval: '1m'
|
||||
exim_queue_run_max: '50'
|
||||
|
Reference in New Issue
Block a user