diff options
Diffstat (limited to 'bin/linux')
-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" |