fix restoring of elasticsearch volume

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-12-15 15:09:39 +01:00
parent fb6668755c
commit 9b3ad32764

View file

@ -259,7 +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" \
--exclude "nextcloud_aio_elasticsearch/" \
--include "nextcloud_aio_elasticsearch/"** \
--exclude "nextcloud_aio_mastercontainer/caddy/"** \
--exclude "nextcloud_aio_mastercontainer/certs/"** \
--exclude "nextcloud_aio_mastercontainer/data/configuration.json" \