Change backup schedule to hourly

This commit is contained in:
Sam A. 2024-03-01 22:29:56 +01:00
parent 000726debe
commit 130564e471
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -11,7 +11,7 @@ services:
domainname: {{ fqdn }} domainname: {{ fqdn }}
environment: environment:
RUN_ON_STARTUP: false RUN_ON_STARTUP: false
BACKUP_CRON: 0 0 3 * * * BACKUP_CRON: 0 0 * * * *
RESTIC_REPOSITORY: b2:{{ restic.b2.bucket }}:{{ restic.repo.path }} RESTIC_REPOSITORY: b2:{{ restic.b2.bucket }}:{{ restic.repo.path }}
RESTIC_PASSWORD: {{ restic.repo.password }} RESTIC_PASSWORD: {{ restic.repo.password }}
RESTIC_BACKUP_SOURCES: /mnt/volumes RESTIC_BACKUP_SOURCES: /mnt/volumes
@ -20,7 +20,7 @@ services:
--exclude '*.tmp' --exclude '*.tmp'
--verbose --verbose
RESTIC_FORGET_ARGS: >- RESTIC_FORGET_ARGS: >-
--keep-last 10 --keep-last 12
--keep-daily 7 --keep-daily 7
--keep-weekly 5 --keep-weekly 5
--keep-monthly 12 --keep-monthly 12
@ -45,7 +45,7 @@ services:
restart: always restart: always
environment: environment:
RUN_ON_STARTUP: false RUN_ON_STARTUP: false
PRUNE_CRON: 0 0 4 * * * PRUNE_CRON: 0 30 3 * * *
RESTIC_REPOSITORY: b2:{{ restic.b2.bucket }}:{{ restic.repo.path }} RESTIC_REPOSITORY: b2:{{ restic.b2.bucket }}:{{ restic.repo.path }}
RESTIC_PASSWORD: {{ restic.repo.password }} RESTIC_PASSWORD: {{ restic.repo.password }}
RESTIC_PRUNE_ARGS: >- RESTIC_PRUNE_ARGS: >-
@ -59,7 +59,7 @@ services:
restart: always restart: always
environment: environment:
RUN_ON_STARTUP: false RUN_ON_STARTUP: false
CHECK_CRON: 0 0 5 * * * CHECK_CRON: 0 30 4 * * *
RESTIC_REPOSITORY: b2:{{ restic.b2.bucket }}:{{ restic.repo.path }} RESTIC_REPOSITORY: b2:{{ restic.b2.bucket }}:{{ restic.repo.path }}
RESTIC_PASSWORD: {{ restic.repo.password }} RESTIC_PASSWORD: {{ restic.repo.password }}
RESTIC_CHECK_ARGS: >- RESTIC_CHECK_ARGS: >-