From e389a17a7441fb3145e1ec83c0af4d85542f2c66 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 17 Dec 2022 16:03:03 +0100 Subject: [PATCH] try to fix the elasticsearch inclusion Signed-off-by: Simon L --- Containers/borgbackup/backupscript.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/borgbackup/backupscript.sh b/Containers/borgbackup/backupscript.sh index 397cf700..7f185b8a 100644 --- a/Containers/borgbackup/backupscript.sh +++ b/Containers/borgbackup/backupscript.sh @@ -259,8 +259,8 @@ if [ "$BORG_MODE" = restore ]; then # Restore everything except the configuration file if ! rsync --stats --archive --human-readable -vv --delete \ --exclude "nextcloud_aio_apache/caddy/"** \ - --exclude "nextcloud_aio_elasticsearch/" \ --include "nextcloud_aio_elasticsearch/"** \ + --exclude "nextcloud_aio_elasticsearch/" \ --exclude "nextcloud_aio_mastercontainer/caddy/"** \ --exclude "nextcloud_aio_mastercontainer/certs/"** \ --exclude "nextcloud_aio_mastercontainer/data/configuration.json" \