From 4a1539b4739349f6b5aaf93541c4efb57d2ad791 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 21 Nov 2022 18:26:36 +0100 Subject: [PATCH] dont restore ocsp folder Signed-off-by: Simon L --- Containers/borgbackup/backupscript.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Containers/borgbackup/backupscript.sh b/Containers/borgbackup/backupscript.sh index a5cf1f45..3af51391 100644 --- a/Containers/borgbackup/backupscript.sh +++ b/Containers/borgbackup/backupscript.sh @@ -262,6 +262,7 @@ 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/"** \ /tmp/borg/nextcloud_aio_volumes/ /nextcloud_aio_volumes; then echo "Something failed while restoring from backup." umount /tmp/borg