mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
also back up the fulltextsearch volume
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
bce08a1564
commit
85999c297c
2 changed files with 6 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ if [ "$BORG_MODE" = backup ]; then
|
|||
|
||||
# Test that nothing is empty
|
||||
for directory in "${VOLUME_DIRS[@]}"; do
|
||||
if [ -z "$(ls -A "$directory")" ]; then
|
||||
if [ -z "$(ls -A "$directory")" ] && [ "$directory" != "/nextcloud_aio_volumes/nextcloud_aio_elasticsearch" ]; then
|
||||
echo "$directory is empty which is not allowed."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue