update backup, add systemdb backup

This commit is contained in:
2025-09-22 14:20:07 +02:00
parent aa7dfd7fe0
commit 95e86f3e60
3 changed files with 39 additions and 16 deletions

View File

@@ -11,6 +11,9 @@ HDBSQL_PATH="/usr/sap/hdbclient/hdbsql"
# This key should be configured to connect to the target tenant database.
USER_KEY="CRONKEY"
# hdbuserstore key for the SYSTEMDB user
SYSTEMDB_USER_KEY="SYSTEMDB_KEY"
# --- Backup Settings ---
# The base directory where all backup files and directories will be stored.
@@ -25,6 +28,9 @@ BACKUP_BASE_DIR="/hana/backups/automated"
# 'all' - Performs both the schema export and the tenant backup.
BACKUP_TYPE="all"
# Set to 'true' to also perform a backup of the SYSTEMDB
BACKUP_SYSTEMDB=true
# Schema can be compressed after exporting, decreasing it's size.
COMPRESS_SCHEMA=true