From efcbf765bf9107e689bebcd4e05d1cffacdc1cdf Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 18 Sep 2024 16:16:26 +0900 Subject: [PATCH] Also ignore logs Such as Nextcloud logs saved in config folder --- backup-via-restic | 1 + 1 file changed, 1 insertion(+) diff --git a/backup-via-restic b/backup-via-restic index fd4038c..5582ad4 100755 --- a/backup-via-restic +++ b/backup-via-restic @@ -28,6 +28,7 @@ restic -r ${repo} backup \ --exclude ~/.cdist \ --exclude ~/.cache \ --exclude ~/.config/**/cache \ + --exclude ~/.config/**/logs \ ~/ restic -r ${repo} forget --keep-last 20 --prune