34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# ==============================================================================
|
|
# Configuration for HANA Backup Script (backup.sh)
|
|
# ==============================================================================
|
|
|
|
# --- Connection Settings ---
|
|
|
|
# Full path to the SAP HANA hdbsql executable.
|
|
HDBSQL_PATH="/usr/sap/hdbclient/hdbsql"
|
|
|
|
# User key name from the hdbuserstore.
|
|
# This key should be configured to connect to the target tenant database.
|
|
USER_KEY="CRONKEY"
|
|
|
|
|
|
# --- Backup Settings ---
|
|
|
|
# The base directory where all backup files and directories will be stored.
|
|
# Ensure this directory exists and that the OS user running the script has
|
|
# write permissions to it.
|
|
BACKUP_BASE_DIR="/hana/backups/automated"
|
|
|
|
# Specify the type of backup to perform on script execution.
|
|
# Options are:
|
|
# 'schema' - Performs only the schema export.
|
|
# 'tenant' - Performs only the tenant data backup.
|
|
# 'all' - Performs both the schema export and the tenant backup.
|
|
BACKUP_TYPE="all"
|
|
|
|
|
|
# --- Target Identifiers ---
|
|
|
|
# The name of the schema to be exported when BACKUP_TYPE is 'schema' or 'all'.
|
|
SCHEMA_NAME="MYSCHEMA"
|