aboutsummaryrefslogtreecommitdiffstats
path: root/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'defaults/main.yml')
-rw-r--r--defaults/main.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index e3af85c..9869589 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -75,11 +75,21 @@ borg_repo_name: "{{ inventory_hostname }}"
# This will deny any request to delete data from the backup repository coming
# from the client host. This is so that an attacker would not be able to simply
# delete the backups from a compromised client.
-# With this configuration option enabled you won't have the ability to remove
+# With this configuration option enabled you won\'t have the ability to remove
# old backups directly from the client that pushes the backups.
# See https://borgbackup.readthedocs.io/en/stable/usage/notes.html#append-only-mode-forbid-compaction
borg_mode_append_only: false
+# Storage quota for the repository (--storage-quota)
+# Limits the storage space used by this repository on the borg server.
+# Format: N (bytes), NK (kilobytes), NM (megabytes), NG (gigabytes), NT (terabytes)
+# Example: "100G" for 100 gigabytes
+# Empty string means no quota (default).
+# Note: When NOT using borg_ssh_key_per_repo, all repos for a host must have
+# the same quota setting, or the role will fail.
+# See https://borgbackup.readthedocs.io/en/stable/usage/serve.html
+borg_storage_quota: ""
+
################################################################################
# Borg Backup Configuration
# See: https://borgbackup.readthedocs.io/en/stable/usage/create.html