From d21ae6cf5f15bbc9b118c5dc43955a563101c9ba Mon Sep 17 00:00:00 2001 From: Frank Dornheim <524257+conloos@users.noreply.github.com> Date: Sat, 11 Mar 2023 13:43:38 +0100 Subject: [PATCH] The initialization of the repository must be activated and does not take place automatically. --- README.md | 3 ++- meta/arguments_specs.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5159081..7d925ec 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ Main features: borgmatic_timer: systemd borgbackup_user: "srv_backup" borgbackup_group: "srv_backup" + borgmatic_initialization_repo: false borg_source_directories: - /srv/www - /var/lib/automysqlbackup @@ -120,7 +121,7 @@ $ git clone https://github.com/borgbase/ansible-role-borgbackup.git roles/ansibl - `borgmatic_cron_hour`: Hour when regular create and prune cron job will run. Defaults to `{{ 6 | random }}` - `borgmatic_cron_minute`: Minute when regular create and prune cron job will run. Defaults to `{{ 59 | random }}` - `borgmatic_hooks`: Hooks to monitor your backups e.g. with [Healthchecks](https://healthchecks.io/). See [official documentation](https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/) for more. -- `borgmatic_initialization_repo`: Auto initialization of the repo on the backup server. Defaults to `true` +- `borgmatic_initialization_repo`: Auto initialization of the repo on the backup server. Defaults to `false` - `borgmatic_large_repo`: Less frequent, monthly repo checking. Defaults to `true` - `borgmatic_timer`: If the variable is set, a timer is installed. A choice must be made between `cron` and `systemd`. - `borgmatic_relocated_repo_access_is_ok`: Bypass Borg error about a repository that has been moved. Defaults to `false` diff --git a/meta/arguments_specs.yml b/meta/arguments_specs.yml index ce8b743..b742f3f 100644 --- a/meta/arguments_specs.yml +++ b/meta/arguments_specs.yml @@ -171,6 +171,7 @@ argument_specs: borgmatic_initialization_repo: type: bool required: false + default: false description: Auto initialization of the repo on the backup server. borgmatic_timer_cron_name: type: str