Release 3.5.6 - See CHANGELOG.md

This commit is contained in:
dave@tiredofit.ca
2022-11-15 13:07:21 -08:00
parent 3e79ca68a0
commit 22e126200e
5 changed files with 14 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
#!/command/with-contenv bash
bootstrap_variables() {
sanity_var DB_TYPE "Set appropriate DB_TYPE"
case "${DB_TYPE,,}" in
couch* )
dbtype=couch
@@ -74,12 +75,18 @@ bootstrap_variables() {
sqlite* )
dbtype=sqlite3
;;
* )
print_error "I don't recognize 'DB_TYPE=${DB_TYPE}' - Exitting.."
exit 99
;;
esac
if [ "${BACKUP_LOCATION,,}" = "s3" ] || [ "${BACKUP_LOCATION,,}" = "minio" ] ; then
file_env 'S3_KEY_ID'
file_env 'S3_KEY_SECRET'
fi
}
backup_couch() {