From ce28b38601e33b80bdf7bbcae7817640f9579082 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Wed, 8 Apr 2026 11:09:03 -0400 Subject: [PATCH] Update Restic backup configuration scripts to reflect what is currently deployed. --- devices/fedora/config/etc/restic/_global.env.sh | 6 +++--- devices/fedora/config/etc/restic/default.env.sh | 2 +- devices/fedora/config/etc/restic/pw.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/devices/fedora/config/etc/restic/_global.env.sh b/devices/fedora/config/etc/restic/_global.env.sh index b755ce9..486f8b0 100644 --- a/devices/fedora/config/etc/restic/_global.env.sh +++ b/devices/fedora/config/etc/restic/_global.env.sh @@ -10,9 +10,9 @@ # The restic repository encryption key -export RESTIC_PASSWORD_FILE="{{ INSTALL_PREFIX }}/etc/restic/pw.txt" +export RESTIC_PASSWORD_FILE="/etc/restic/pw.txt" # The global restic exclude file -export RESTIC_BACKUP_EXCLUDE_FILE="{{ INSTALL_PREFIX }}/etc/restic/backup_exclude.txt" +export RESTIC_BACKUP_EXCLUDE_FILE="/etc/restic/backup_exclude.txt" # Backblaze B2 credentials keyID & applicationKey pair. # Restic environment variables are documented at https://restic.readthedocs.io/en/latest/040_backup.html#environment-variables @@ -31,7 +31,7 @@ export RESTIC_BACKUP_EXTRA_ARGS= export RESTIC_VERBOSITY_LEVEL=0 # (optional, uncomment to enable) Backup summary stats log: snapshot size, etc. (empty/unset won't log) -#export RESTIC_BACKUP_STATS_DIR="{{ INSTALL_PREFIX }}/var/log/restic-automatic-backup-scheduler" +#export RESTIC_BACKUP_STATS_DIR="/var/log/restic-automatic-backup-scheduler" # (optional) Desktop notifications. See README and restic_backup.sh for details on how to set this up (empty/unset means disabled) export RESTIC_BACKUP_NOTIFICATION_FILE= diff --git a/devices/fedora/config/etc/restic/default.env.sh b/devices/fedora/config/etc/restic/default.env.sh index f14baed..a4f6063 100644 --- a/devices/fedora/config/etc/restic/default.env.sh +++ b/devices/fedora/config/etc/restic/default.env.sh @@ -12,7 +12,7 @@ # $ restic --repo ... --password-file ... # shellcheck source=etc/restic/_global.env.sh -. "{{ INSTALL_PREFIX }}/etc/restic/_global.env.sh" +. "/etc/restic/_global.env.sh" # Envvars below will override those in _global.env.sh if present. diff --git a/devices/fedora/config/etc/restic/pw.txt b/devices/fedora/config/etc/restic/pw.txt index 4438754..e11b59b 100644 --- a/devices/fedora/config/etc/restic/pw.txt +++ b/devices/fedora/config/etc/restic/pw.txt @@ -1 +1 @@ -fJbPEg78Dpx5UM \ No newline at end of file +fJbPEg78Dpx5UM