mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-28 08:29:20 +08: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
|
||||
|
|
|
@ -290,6 +290,11 @@
|
|||
"name": "%BORGBACKUP_HOST_LOCATION%",
|
||||
"location": "/mnt/borgbackup",
|
||||
"writeable": true
|
||||
},
|
||||
{
|
||||
"name": "nextcloud_aio_elasticsearch",
|
||||
"location": "/nextcloud_aio_volumes/nextcloud_aio_elasticsearch",
|
||||
"writeable": true
|
||||
}
|
||||
],
|
||||
"secrets": [
|
||||
|
|
Loading…
Reference in a new issue