From 4c7a08dd34a3dbdeb12d50054a63c6df05804e39 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 11 Jun 2023 01:49:00 +0200 Subject: [PATCH] borging --- backup-theseus.sh | 7 +++++-- borg-backup | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backup-theseus.sh b/backup-theseus.sh index 153f877..435ca2e 100755 --- a/backup-theseus.sh +++ b/backup-theseus.sh @@ -24,10 +24,13 @@ $BORG_BIN create \ --compression zstd,11 \ --exclude-caches \ --exclude 'home/*/.cache/*' \ - --exclude 'home/.local/share/Steam/*' \ + --exclude 'home/Download/*' \ + --exclude 'home/\.local/share/baloo/*' \ --exclude '*/.Trash*' \ + --exclude '*/Trash*' \ + --exclude '*/.Steam*' \ \ - ::'{hostname}-{now}' \ + ${BORG_REPO}::'{hostname}-{now}' \ /home \ /etc diff --git a/borg-backup b/borg-backup index f292f42..1ccd537 100755 --- a/borg-backup +++ b/borg-backup @@ -28,6 +28,7 @@ info "Starting backup" --exclude 'var/cache/*' \ --exclude 'srv/data/backup' \ --exclude '*/.Trash*' \ + --exclude '*/Trash*' \ \ ::'{hostname}-{now}' \ /etc \