This commit is contained in:
2025-09-09 16:36:40 +02:00
parent d954b8e313
commit a89c7823fe
2 changed files with 5 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
# Configuration for the HANA Aurora Refresh Script
# Place this file in the same directory as the aurora_refresh.sh script.
# Place this file in the same directory as the aurora.sh script.
# --- Main Settings ---
@@ -12,12 +12,8 @@ AURORA_SCHEMA_USER="B1_53424F5F4348494D5045585F4155524F5241_RW"
# The database user for performing backup and administrative tasks.
BACKOP_USER="CRONKEY"
# --- Paths and Files ---
# The root directory where the script and its associated files are located.
SCRIPT_ROOT="/usr/sap/NDB/home/tools"
# The base directory for storing the temporary schema export.
BACKUP_DIR="/hana/shared/backup/schema"
@@ -27,7 +23,9 @@ HDBSQL="/usr/sap/NDB/HDB00/exe/hdbsql"
# --- Post-Import Scripts ---
# The root directory where the SQL script and its associated files are located.
SQL_ROOT="/usr/sap/NDB/home/tools"
# A space-separated list of SQL script files to run after the import is complete.
# These scripts should be located in the SCRIPT_ROOT directory.
#POST_SQL="NAVO_PARAMS.sql GRANT_OLI_ARF.sql"
POST_SQL=""

View File

@@ -59,7 +59,7 @@ select choice in "${options[@]}"; do
if command -v colordiff &> /dev/null; then
colordiff -u "${filename}" "${tmp_file}"
else
diff -u "${filename}" "${tmp_file}"
diff --color=always -u "${filename}" "${tmp_file}"
fi
echo "--------------------- DIFF END ---------------------"