jina verze

This commit is contained in:
2026-08-12 10:53:04 +02:00
parent f186ec26a8
commit 93d4f24f07
43 changed files with 1686 additions and 1959 deletions
+5 -5
View File
@@ -163,19 +163,19 @@ function mariadbDatabaseClean() {
function mariadbExport() {
local execFn="$1"
[[ -n "$execFn" ]] || { appError "Exec function not specified"; return 1; }
shift || true
shift
local username="$1"
[[ -n "$username" ]] || { appError "Username not specified"; return 1; }
shift || true
shift
local password="$1"
[[ -n "$password" ]] || { appError "Password not specified"; return 1; }
shift || true
shift
local database="$1"
[[ -n "$database" ]] || { appError "Database not specified"; return 1; }
shift || true
shift
local file="$1"
if [[ -z "$file" ]]; then
@@ -183,7 +183,7 @@ function mariadbExport() {
&& file="$appDataPath/$mariadbMasterKube/${appDate}_${appTime}_full.sql.tar.gz" \
|| file="$appDataPath/$mariadbMasterKube/${appDate}_${appTime}_$database.sql.tar.gz"
fi
shift || true
shift
local -a params
if [[ $# -gt 0 ]]; then