290 current 2025-10-11 11:39:41 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 12:01:18 -05:00
parent 7d02cf9b19
commit 89c1be5186

View File

@@ -82,8 +82,6 @@ in
--compression lzma,9 \
"$BORG_REPO::$archive" \
${lib.concatStringsSep " " bak_paths.paths}
''
) cfg.baks)}
echo "pruning old backups for ${bak_name}..."
borg prune -v --list "$BORG_REPO" \
--prefix "${bak_name}-" \
@@ -91,6 +89,8 @@ in
--keep-weekly=52 \
--keep-monthly=-1
echo "backup run complete at \"$BORG_REPO::$archive\""
''
) cfg.baks)}
else
# flatten all paths from cfg.baks into one big list
all_paths="${