bugfix: missing mode prefix

This commit is contained in:
Marc Koch 2024-01-15 09:11:31 +01:00
parent 5aee905508
commit 0ff01d7585
1 changed files with 1 additions and 1 deletions

View File

@ -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[@]}"