From 4ef0f2c542191037b1b9dbe5db9b2c109a17db19 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Fri, 1 Apr 2022 20:19:27 -0300 Subject: [PATCH] Backup: prune better and do not backup MasterClass project files --- Backup/.Backup_HD.sh | 2 +- Backup/exclude | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Backup/.Backup_HD.sh b/Backup/.Backup_HD.sh index b8cb13a..dbcf095 100755 --- a/Backup/.Backup_HD.sh +++ b/Backup/.Backup_HD.sh @@ -54,7 +54,7 @@ function checkBackup() { function pruneBackup() { echo -e "${blue} `date +%r` - Prune old backups...${reset}" - borg prune --keep-within=1y --keep-daily=30 --keep-weekly=12 --keep-monthly=24 --keep-yearly=3 $1 + borg prune --keep-weekly=12 --keep-monthly=24 --keep-yearly=3 $1 } diff --git a/Backup/exclude b/Backup/exclude index b7a5d13..8cc0588 100755 --- a/Backup/exclude +++ b/Backup/exclude @@ -23,6 +23,7 @@ /home/bruno/node_modules /home/bruno/shared/ /run/media/bruno/Multimedia/Localização/Ccaps/Projetos/@Delivered +/run/media/bruno/Multimedia/Localização/Ccaps/Projetos/MasterClass /run/media/bruno/Multimedia/Localização/Ccaps/TEMP /run/media/bruno/Multimedia/Localização/FONTES /run/media/bruno/Multimedia/MyDocuments/Camtasia Studio