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:
parent
412054e3cd
commit
9cf2ee10a0
3 changed files with 3 additions and 0 deletions
|
|
@ -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 }}"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ services:
|
|||
hostname: "{{ ansible_hostname }}"
|
||||
environment:
|
||||
TZ: "{{ restic_tz }}"
|
||||
SKIP_INIT: true
|
||||
BACKUP_CRON: "{{ stack_grocy_restic_cron }}"
|
||||
RESTIC_REPOSITORY: "{{ restic_repo }}"
|
||||
RESTIC_PASSWORD: "{{ restic_pass }}"
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ services:
|
|||
environment:
|
||||
TZ: "{{ restic_tz }}"
|
||||
BACKUP_CRON: "{{ stack_paperless_restic_cron }}"
|
||||
SKIP_INIT: true
|
||||
RESTIC_REPOSITORY: "{{ restic_repo }}"
|
||||
RESTIC_PASSWORD: "{{ restic_pass }}"
|
||||
AWS_ACCESS_KEY_ID: "{{ restic_s3_key }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue