Add more volumes to Restic

This commit is contained in:
Sam A. 2023-05-28 22:48:22 +02:00
parent 5510c0e016
commit adcfae90e9
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 9 additions and 4 deletions

View file

@ -51,3 +51,11 @@ services:
sender_domains:
- "{{ services.nextcloud.domain }}"
backup_volumes:
- "{{ services.caddy.volume }}:/mnt/volumes/caddy:ro"
- "{{ services.postfix.volume }}:/mnt/volumes/postfix:ro"
- "{{ services.emby.volume }}/programdata:/mnt/volumes/emby/programdata:ro"
- "{{ services.nextcloud.volume }}:/mnt/volumes/nextcloud:ro"
- "{{ services.pihole.volume }}:/mnt/volumes/pi-hole:ro"
- "{{ services.wireguard.volume }}:/mnt/volumes/wireguard:ro"

View file

@ -31,10 +31,7 @@
B2_ACCOUNT_ID: "{{ secrets.restic.b2.id }}"
B2_ACCOUNT_KEY: "{{ secrets.restic.b2.key }}"
TZ: "{{ timezone }}"
volumes:
- "{{ services.caddy.volume }}:/mnt/volumes/caddy:ro"
- "{{ services.nextcloud.volume }}:/mnt/volumes/nextcloud:ro"
- "{{ services.emby.volume }}/programdata:/mnt/volumes/emby/programdata:ro"
volumes: "{{ backup_volumes }}"
prune:
image: mazzolino/restic:{{ services.restic.version }}