26 current 2025-10-07 15:27:08 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-07 15:29:14 -05:00
parent 5ee3701a7f
commit 40041e86aa
2 changed files with 2 additions and 3 deletions

View File

@@ -45,7 +45,6 @@ in
# Initialize repo if it doesn't exist
if ! borg info "$BORG_REPO" >/dev/null 2>&1; then
# mkdir -p "$BORG_REPO"
echo "init borg repo at $BORG_REPO"
borg init --encryption=repokey "$BORG_REPO"
fi
@@ -59,7 +58,7 @@ in
--stats \
--show-rc \
--compression lz4 \
"$BORG_REPO::$(host)-$(date +'%Y-%m-%dT%H:%M:%S')" \
"$BORG_REPO::$(HOST)-$(date +'%Y-%m-%dT%H:%M:%S')" \
${lib.concatStringsSep " " cfg.paths}
# Prune old backups according to retention policy