diff options
author | Matt Singleton <matt@xcolour.net> | 2024-02-16 10:04:56 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2024-02-16 10:04:56 -0600 |
commit | 40c3679d6918f6dd5b474db90ad2fd5bd130721d (patch) | |
tree | d7d70397e6540e6520dcc34bdc22f97b4892f177 | |
parent | d6891ca26dc090c0da4c876da0afaa12bfa9f6ef (diff) |
fix a shellcheck issue
-rwxr-xr-x | bin/linux/backup | 4 |
1 files 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" |