From 0ff01d75855b963d0b152dea3d9ca2040abc70eb Mon Sep 17 00:00:00 2001 From: Marc Michalsky Date: Mon, 15 Jan 2024 09:11:31 +0100 Subject: [PATCH] bugfix: missing mode prefix --- borgbackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[@]}"