The initialization of the repository must be activated and does not take place automatically.

This commit is contained in:
Frank Dornheim 2023-03-11 13:43:38 +01:00
parent 0e109849e7
commit d21ae6cf5f
2 changed files with 3 additions and 1 deletions

View File

@ -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`

View File

@ -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