add backup suite
This commit is contained in:
33
backup/backup.conf
Normal file
33
backup/backup.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
# ==============================================================================
|
||||
# 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"
|
||||
Reference in New Issue
Block a user