try to fix the elasticsearch inclusion

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-12-17 16:03:03 +01:00
parent 331442fe38
commit e389a17a74

View file

@ -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" \