diff --git a/hanatool.sh b/hanatool.sh index aa269f7..bb10236 100644 --- a/hanatool.sh +++ b/hanatool.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 1.4.3 +# Version: 1.4.4 # ============================================================================== # SAP HANA Schema and Tenant Management Tool (hanatool.sh) # @@ -241,7 +241,7 @@ case "$ACTION" in mkdir -p "$EXPORT_DIR" fi - QUERY="EXPORT \"${SCHEMA_NAME}\".\"*\" AS BINARY INTO '${EXPORT_DIR}' WITH REPLACE THREADS ${THREADS};" + QUERY="EXPORT \\"${SCHEMA_NAME}\\"\\".\\"*\\" AS BINARY INTO '${EXPORT_DIR}' WITH REPLACE THREADS ${THREADS};" EXIT_CODE=0 if [[ "$DRY_RUN" == "true" ]]; then @@ -355,7 +355,7 @@ case "$ACTION" in QUERY_RENAME_PART="WITH RENAME SCHEMA \"${SCHEMA_NAME}\" TO \"${NEW_SCHEMA_NAME}\"" fi - QUERY="IMPORT \"${SCHEMA_NAME}\".\"*\" AS BINARY FROM '${IMPORT_DIR}' ${QUERY_RENAME_PART} WITH IGNORE EXISTING THREADS ${THREADS};" + QUERY="IMPORT \\"${SCHEMA_NAME}\\"\\".\\"*\\" AS BINARY FROM '${IMPORT_DIR}' ${QUERY_RENAME_PART} WITH IGNORE EXISTING THREADS ${THREADS};" EXIT_CODE=0 if [[ "$DRY_RUN" == "true" ]]; then diff --git a/packages.conf b/packages.conf index 3b77247..809d19e 100644 --- a/packages.conf +++ b/packages.conf @@ -12,6 +12,6 @@ SCRIPT_PACKAGES["Backup Suite"]="1.0.5|https://git.technopunk.space/tomi/Scripts SCRIPT_PACKAGES["Monitor Suite"]="1.0.5|https://git.technopunk.space/tomi/Scripts/raw/branch/main/monitor/monitor.sh https://git.technopunk.space/tomi/Scripts/raw/branch/main/monitor/monitor.conf" SCRIPT_PACKAGES["Key Manager"]="1.2.1|https://git.technopunk.space/tomi/Scripts/raw/branch/main/hdb_keymanager.sh" SCRIPT_PACKAGES["File Cleaner"]="1.1.0|https://git.technopunk.space/tomi/Scripts/raw/branch/main/clean.sh" -SCRIPT_PACKAGES["HANA Tool"]="1.4.3|https://git.technopunk.space/tomi/Scripts/raw/branch/main/hanatool.sh" +SCRIPT_PACKAGES["HANA Tool"]="1.4.4|https://git.technopunk.space/tomi/Scripts/raw/branch/main/hanatool.sh" # Example: Add a new script with its version. # SCRIPT_PACKAGES["My Other Script"]="1.0.0|https://path/to/my-other-script.sh"