From 40c3679d6918f6dd5b474db90ad2fd5bd130721d Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 16 Feb 2024 10:04:56 -0600 Subject: fix a shellcheck issue --- bin/linux/backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/linux/backup b/bin/linux/backup index 75aded9..6324c05 100755 --- a/bin/linux/backup +++ b/bin/linux/backup @@ -3,7 +3,7 @@ set -euo pipefail set -o allexport -# shellcheck source=../local/duplicity-config +# shellcheck source=../../.config/duplicity/config source ~/.config/duplicity/config set +o allexport @@ -12,7 +12,7 @@ excludes=~/.config/duplicity/excludes target_url=b2://"$B2_KEY_ID"@"$B2_BUCKET" # take a new full backup every month, incremental otherwise -duplicity --full-if-older-than 1M --exclude-filelist "$excludes" "$source_directory" "$target_url" +duplicity backup --full-if-older-than 1M --exclude-filelist "$excludes" "$source_directory" "$target_url" # keep 12 months of full backups duplicity remove-all-but-n-full 12 --force "$target_url" -- cgit v1.2.3