fix(backup): Fixed obsolete config option.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Version: 1.0.6
|
||||
# Version: 1.0.7
|
||||
# ==============================================================================
|
||||
# SAP HANA Backup Script
|
||||
#
|
||||
@@ -13,7 +13,7 @@
|
||||
# Find the script's own directory to locate the config file and hanatool.sh
|
||||
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
|
||||
CONFIG_FILE="${SCRIPT_DIR}/backup.conf"
|
||||
HANATOOL_PATH="${SCRIPT_DIR}/../hanatool.sh" # Assuming hanatool.sh is in the parent directory
|
||||
HANATOOL_PATH="${SCRIPT_DIR}/hanatool.sh" # Assuming hanatool.sh is in the parent directory
|
||||
|
||||
# Check for config file and source it
|
||||
if [[ -f "$CONFIG_FILE" ]]; then
|
||||
@@ -35,8 +35,7 @@ echo "⚙️ Starting HANA backup process using hanatool.sh..."
|
||||
|
||||
mkdir -p "$BACKUP_BASE_DIR"
|
||||
|
||||
# Common options for hanatool.sh
|
||||
COMMON_OPTIONS="--hdbsql \"$HDBSQL_PATH\""
|
||||
SCHEMA_EXPORT_OPTIONS=""
|
||||
|
||||
case "$BACKUP_TYPE" in
|
||||
schema)
|
||||
|
||||
Reference in New Issue
Block a user