Skip availability checks by default

This commit is contained in:
Dave Conroy
2022-09-20 12:49:43 -07:00
parent 73ad356ebf
commit 8706d3a91c
2 changed files with 90 additions and 87 deletions

View File

@@ -20,5 +20,6 @@ S3_PROTOCOL=${S3_PROTOCOL:-"https"}
SCRIPT_LOCATION_PRE=${SCRIPT_LOCATION_PRE:-"/assets/scripts/pre/"}
SCRIPT_LOCATION_POST=${SCRIPT_LOCATION_POST:-"/assets/scripts/post/"}
SIZE_VALUE=${SIZE_VALUE:-"bytes"}
SKIP_AVAILABILITY_CHECK=${SKIP_AVAILABILITY_CHECK:-"TRUE"}
SPLIT_DB=${SPLIT_DB:-"TRUE"}
TEMP_LOCATION=${TEMP_LOCATION:-"/tmp/backups"}

View File

@@ -363,6 +363,7 @@ backup_sqlite3() {
check_availability() {
### Set the Database Type
if var_false "${SKIP_AVAILABILITY_CHECK}" ; then
case "$dbtype" in
"couch" )
counter=0
@@ -458,6 +459,7 @@ check_availability() {
fi
;;
esac
fi
}
check_exit_code() {