From 6b6500c29dc393ced503c0790c4b51c0564a68e3 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 21 Nov 2022 19:03:17 +0100 Subject: [PATCH] just exclude the whole dir on restore Signed-off-by: Simon L --- Containers/borgbackup/backupscript.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containers/borgbackup/backupscript.sh b/Containers/borgbackup/backupscript.sh index 3af51391..2736edc5 100644 --- a/Containers/borgbackup/backupscript.sh +++ b/Containers/borgbackup/backupscript.sh @@ -262,7 +262,8 @@ if [ "$BORG_MODE" = restore ]; then --exclude "nextcloud_aio_mastercontainer/data/daily_backup_running" \ --exclude "nextcloud_aio_mastercontainer/data/session_date_file" \ --exclude "nextcloud_aio_mastercontainer/data/configuration.json" \ - --exclude "nextcloud_aio_apache/caddy/ocsp/"** \ + --exclude "nextcloud_aio_apache/caddy/"** \ + --exclude "nextcloud_aio_mastercontainer/caddy/"** \ /tmp/borg/nextcloud_aio_volumes/ /nextcloud_aio_volumes; then echo "Something failed while restoring from backup." umount /tmp/borg