By default, we allocate 20% of server space for backups. If existing backups on the server exceed the allotted space, Borg will not create new backups or do anything else which requires a backup (staging pushes, clones, etc).
Why would that happen? Maybe you have a really large site. Maybe you take 24 manual backups on the 30 minute mark because you’re paranoid. Whatever the reason, 20% doesn’t always cut it. Fortunately, you can increase this value.
Accessing the Config File
The available space varies per server size, but you can change it with this command:
Contents of the Config File
Once you’re in that file, it will look like this:
[repository] version = 1 segments_per_dir = 1000 max_segment_size = 524288000 append_only = 0 storage_quota = 11000000000 additional_free_space = 0 id = (hidden for the KB, will show on your server) key = (hidden for the KB, will show on your server)
The value you want to change is “storage_quota”. Save, write, and exit the file.
It’s in bytes and converts to GB like so:
1 GB = 10^9 bytes = 1,000,000,000 bytes
For further information about how backup systems work, the available options for configuring them, and for setting up remote backups (available on V2), please see the articles listed below.