From e3ef6e09fb33b19a092dc335d747b5e575311cb7 Mon Sep 17 00:00:00 2001 From: capntack Date: Fri, 22 Mar 2024 19:59:36 -0500 Subject: [PATCH] Clarified steps if running with LAN_AND_AWS_RESTIC --- templates/variablesAWSTemplate.sh | 2 ++ templates/variablesTemplate.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/templates/variablesAWSTemplate.sh b/templates/variablesAWSTemplate.sh index 01f078d..0c5e8c5 100644 --- a/templates/variablesAWSTemplate.sh +++ b/templates/variablesAWSTemplate.sh @@ -18,12 +18,14 @@ export RESTIC_PASSWORD='PASSWORD' readonly RESTIC_SOURCE='/path/to/dir/to/backup' ## RESTIC_CALENDAR_RETENTION must be set to 'yes' for these +## Remove readonly if you want different retention policies readonly RESTIC_RETENTION_DAYS='0' readonly RESTIC_RETENTION_WEEKS='4' readonly RESTIC_RETENTION_MONTHS='0' readonly RESTIC_RETENTION_YEARS='0' ## RESTIC_CALENDAR_RETENTION must be set to 'no' for this +## Remove readonly if you want different retention policies # readonly RESTIC_RETENTION_KEEP_LAST='2' ## Recommendation is to leave the first tag be, and configure the second diff --git a/templates/variablesTemplate.sh b/templates/variablesTemplate.sh index e236d75..b4fcf4e 100644 --- a/templates/variablesTemplate.sh +++ b/templates/variablesTemplate.sh @@ -83,12 +83,14 @@ readonly LOG_RETENTION='30' # readonly RESTIC_SOURCE='/path/to/dir/to/backup' ## RESTIC_CALENDAR_RETENTION must be set to 'yes' for these +## Remove readonly if LAN_AND_AWS_RESTIC is set to 'yes' and you want different retention policies # readonly RESTIC_RETENTION_DAYS='3' # readonly RESTIC_RETENTION_WEEKS='1' # readonly RESTIC_RETENTION_MONTHS='1' # readonly RESTIC_RETENTION_YEARS='1' ## RESTIC_CALENDAR_RETENTION must be set to 'no' for this +## Remove readonly if LAN_AND_AWS_RESTIC is set to 'yes' and you want different retention policies # readonly RESTIC_RETENTION_KEEP_LAST='2' ## Recommendation is to leave the first tag be, and configure the second