asd
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Configuration for the HANA Aurora Refresh Script
|
# 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 ---
|
# --- Main Settings ---
|
||||||
|
|
||||||
@@ -12,12 +12,8 @@ AURORA_SCHEMA_USER="B1_53424F5F4348494D5045585F4155524F5241_RW"
|
|||||||
# The database user for performing backup and administrative tasks.
|
# The database user for performing backup and administrative tasks.
|
||||||
BACKOP_USER="CRONKEY"
|
BACKOP_USER="CRONKEY"
|
||||||
|
|
||||||
|
|
||||||
# --- Paths and Files ---
|
# --- 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.
|
# The base directory for storing the temporary schema export.
|
||||||
BACKUP_DIR="/hana/shared/backup/schema"
|
BACKUP_DIR="/hana/shared/backup/schema"
|
||||||
|
|
||||||
@@ -27,7 +23,9 @@ HDBSQL="/usr/sap/NDB/HDB00/exe/hdbsql"
|
|||||||
|
|
||||||
# --- Post-Import Scripts ---
|
# --- 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.
|
# 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.
|
# These scripts should be located in the SCRIPT_ROOT directory.
|
||||||
#POST_SQL="NAVO_PARAMS.sql GRANT_OLI_ARF.sql"
|
|
||||||
POST_SQL=""
|
POST_SQL=""
|
||||||
@@ -59,7 +59,7 @@ select choice in "${options[@]}"; do
|
|||||||
if command -v colordiff &> /dev/null; then
|
if command -v colordiff &> /dev/null; then
|
||||||
colordiff -u "${filename}" "${tmp_file}"
|
colordiff -u "${filename}" "${tmp_file}"
|
||||||
else
|
else
|
||||||
diff -u "${filename}" "${tmp_file}"
|
diff --color=always -u "${filename}" "${tmp_file}"
|
||||||
fi
|
fi
|
||||||
echo "--------------------- DIFF END ---------------------"
|
echo "--------------------- DIFF END ---------------------"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user