update backup suite

This commit is contained in:
2025-09-09 11:25:24 +02:00
parent 0104042273
commit a06e1469f8
2 changed files with 10 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ perform_schema_export() {
local timestamp
timestamp=$(date +%Y%m%d_%H%M%S)
local export_dir="${BACKUP_BASE_DIR}/schema_exports"
local export_dir="${BACKUP_BASE_DIR}/schema"
local export_path="${export_dir}/${SCHEMA_NAME}_${timestamp}"
local archive_file="${export_path}.tar.gz"
@@ -85,7 +85,7 @@ perform_tenant_backup() {
local timestamp
timestamp=$(date +%Y%m%d_%H%M%S)
local backup_dir="${BACKUP_BASE_DIR}/tenant_backups"
local backup_dir="${BACKUP_BASE_DIR}/tenant"
# HANA will create the final file; we just provide the location and prefix.
local backup_path_prefix="${backup_dir}/backup_${timestamp}"