290 current 2025-10-11 11:39:41 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -83,13 +83,12 @@ in
|
|||||||
"$BORG_REPO::$archive" \
|
"$BORG_REPO::$archive" \
|
||||||
${lib.concatStringsSep " " bak_paths.paths}
|
${lib.concatStringsSep " " bak_paths.paths}
|
||||||
else
|
else
|
||||||
## flatten all paths from cfg.baks into one big list
|
# flatten all paths from cfg.baks into one big list
|
||||||
# all_paths="${
|
all_paths="${
|
||||||
# lib.concatStringsSep " "
|
lib.concatStringsSep " "
|
||||||
# (lib.flatten
|
(lib.flatten
|
||||||
# (lib.mapAttrsToList (_: bak: bak.paths) cfg.baks))
|
(lib.mapAttrsToList (_: bak: bak.paths) cfg.baks))
|
||||||
# }"
|
}"
|
||||||
archive="$timestamp-${config.networking.hostName}"
|
|
||||||
borg create \
|
borg create \
|
||||||
--verbose \
|
--verbose \
|
||||||
--filter AME \
|
--filter AME \
|
||||||
@@ -97,7 +96,7 @@ in
|
|||||||
--stats \
|
--stats \
|
||||||
--show-rc \
|
--show-rc \
|
||||||
--compression lzma,9 \
|
--compression lzma,9 \
|
||||||
"$BORG_REPO::$archive" \
|
"$BORG_REPO::$timestamp-${toString config.networking.hostName}" \
|
||||||
$all_paths
|
$all_paths
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user