From 46b6a68177739d6e1391e41e764c42d3f36164ac Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 29 Mar 2024 15:25:59 +0000 Subject: [PATCH] started with template fixes --- Backup/local.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Backup/local.sh b/Backup/local.sh index fd08a9e..32e445a 100644 --- a/Backup/local.sh +++ b/Backup/local.sh @@ -57,22 +57,22 @@ borg create \ --exclude-caches \ --exclude 'home/*/.cache/*' \ --exclude 'var/tmp/*' \ + --exclude '*.log' \ \ ${BACKUP_PATH}::${TIMESTAMP}-$$-www \ ${TO_BACKUP} backup_exit=$? -## Only keep 7 daily, 4 weekly and 6 monthly backups +## Only keep 1 daily, 0 weekly and 3 monthly backups info "Pruning repository" borg prune \ --list \ --glob-archives '{hostname}-*' \ --show-rc \ - --keep-daily 7 \ - --keep-weekly 4 \ - --keep-monthly 6 \ + --keep-daily 1 \ + --keep-monthly 3 \ --keep-yearly 10 prune_exit=$?