diff --git a/borgbackup.sh b/borgbackup.sh index d4eac33..3b933f7 100755 --- a/borgbackup.sh +++ b/borgbackup.sh @@ -58,7 +58,7 @@ exclude() { borg_command=("create" "--verbose" "--filter=AME" "--list" "--stats" "--show-rc" "--compression=lz4" "--exclude-caches") borg_command+=($(exclude)) -borg_command+=("::backup-{hostname}-{now}" "${BORG_TARGETS[@]}") +borg_command+=("::${mode}-backup-{hostname}-{now}" "${BORG_TARGETS[@]}") /usr/local/bin/borg "${borg_command[@]}"