bugfix: missing mode prefix
This commit is contained in:
parent
5aee905508
commit
0ff01d7585
|
|
@ -58,7 +58,7 @@ exclude() {
|
||||||
|
|
||||||
borg_command=("create" "--verbose" "--filter=AME" "--list" "--stats" "--show-rc" "--compression=lz4" "--exclude-caches")
|
borg_command=("create" "--verbose" "--filter=AME" "--list" "--stats" "--show-rc" "--compression=lz4" "--exclude-caches")
|
||||||
borg_command+=($(exclude))
|
borg_command+=($(exclude))
|
||||||
borg_command+=("::backup-{hostname}-{now}" "${BORG_TARGETS[@]}")
|
borg_command+=("::${mode}-backup-{hostname}-{now}" "${BORG_TARGETS[@]}")
|
||||||
|
|
||||||
/usr/local/bin/borg "${borg_command[@]}"
|
/usr/local/bin/borg "${borg_command[@]}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue