Note to self:
Recently hit space issues again and backups failing so this post needs revisiting soon.
Note that in order to create a backup resulting in a 12GB gzip file I require ~36GB+ of space dedicated to backups, ~24GB+ of free space:
- 12GB for the backup from the day before
- 12GB for the new backup file
- ~12GB+ tar archive to be compressed into gzip file (original DB file backup + original image files
So as backup sizes increase by 1GB, the backup / space requirements are actually increasing by a ~3GB.
This assumes that you are only keeping a single previous backup - where the Discourse setting maximum backups
is set to 1
.
The Discourse default is 5
, so using defaults I would need ~84GB dedicated to backups to allow them to work.