diff --git a/README.md b/README.md index 6d5a710..3722f82 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,14 @@ Create a superuser account ``` +### Repository Quota Updates + +The repository quotas in the UI are updated after each backup. +To update the quota during an operation the `update_used_quota` management command can be executed on a regular basis. + +There are example configs for systemd-timers in `contrib/communitybackup-quota-update.service` and `contrib/communitybackup-quota-update.timer`. Adjust the paths and the timers to your needs. + + ## Custom pages Some pages are specific to your installation. E.g. an imprint. @@ -146,3 +154,25 @@ Django debug setting. ```python ADDITIONAL_FOOTER_NAV_ITEMS = [""" {{ repo.name }} - {{ repo.truncated_key }} - {{ repo.repo_url }} + {{ repo.truncated_key }} + {{ repo.repo_url }} {% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %} Edit Delete @@ -35,6 +35,21 @@ +{% if BORG_SERVER_PUBKEYS %} +
+
+

Borg Server Public Keys

+
+ +
+{% endif %} diff --git a/pyproject.toml b/pyproject.toml index 4295f15..2412b09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "community_backup" -version = "0.10" +version = "0.12" description = "Add your description here" readme = "README.md" requires-python = ">=3.13"