We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71866a8 commit 152e4aaCopy full SHA for 152e4aa
xenit/solr6/local/93-restore-from-backup.sh
@@ -85,7 +85,7 @@ set -e
85
86
echo "Solr restore from backup start"
87
88
-if [ -z "${RESTORE_FROM_BACKUP}" ]; then
+if [ -z "${RESTORE_FROM_BACKUP}" ] || [ "${RESTORE_FROM_BACKUP}" != "true" ]; then
89
echo "No index backup restore requested, exiting"
90
else
91
# Check if the index properties file exists , it means previous restore already happened
0 commit comments