restic: Skip repo init on backup containers

Only the initial 'main' prune container will init the repository, the
others will not attempt even if they don't find a repository.
This commit is contained in:
Marty Oehme 2025-07-18 21:41:44 +02:00
parent 412054e3cd
commit 9cf2ee10a0
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 3 additions and 0 deletions

View file

@ -296,6 +296,7 @@ services:
hostname: "{{ ansible_hostname }}"
environment:
TZ: "{{ restic_tz }}"
SKIP_INIT: true
BACKUP_CRON: "{{ arrstack_restic_cron }}"
RESTIC_REPOSITORY: "{{ restic_repo }}"
RESTIC_PASSWORD: "{{ restic_pass }}"