From c2a0df1e309ee0bc0bc71183e998a6864f586f95 Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Thu, 30 May 2024 22:00:42 +0000 Subject: [PATCH] exclude synology backup directory from file backup --- scripts/file-backup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/file-backup.sh b/scripts/file-backup.sh index 13a6f35..e3b5947 100755 --- a/scripts/file-backup.sh +++ b/scripts/file-backup.sh @@ -16,6 +16,7 @@ HOME="/home/admin" duplicity \ --log-file /web/logs/duplicity.log \ --archive-dir "${cache_dir}" \ --exclude '**/.git' \ + --exclude '**/.synosnap_data' \ --exclude '**/backup/' \ --exclude '**/logs/' \ --exclude '**/private/mysqld/' \