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
|
# Test that nothing is empty
|
||||||
for directory in "${VOLUME_DIRS[@]}"; do
|
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."
|
echo "$directory is empty which is not allowed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,11 @@
|
||||||
"name": "%BORGBACKUP_HOST_LOCATION%",
|
"name": "%BORGBACKUP_HOST_LOCATION%",
|
||||||
"location": "/mnt/borgbackup",
|
"location": "/mnt/borgbackup",
|
||||||
"writeable": true
|
"writeable": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nextcloud_aio_elasticsearch",
|
||||||
|
"location": "/nextcloud_aio_volumes/nextcloud_aio_elasticsearch",
|
||||||
|
"writeable": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"secrets": [
|
"secrets": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue