From a06e1469f83d677913c2e9497e15bae90b6ca4ac Mon Sep 17 00:00:00 2001 From: Tomi Eckert Date: Tue, 9 Sep 2025 11:25:24 +0200 Subject: [PATCH] update backup suite --- backup/backup.sh | 4 ++-- update.bat | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 update.bat diff --git a/backup/backup.sh b/backup/backup.sh index 94695e3..71eb6aa 100644 --- a/backup/backup.sh +++ b/backup/backup.sh @@ -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}" diff --git a/update.bat b/update.bat new file mode 100644 index 0000000..254b75a --- /dev/null +++ b/update.bat @@ -0,0 +1,8 @@ +@echo off +git add -A +set /p commitMessage="Enter your commit message: " +git commit -m "%commitMessage%" +git push +echo. +echo Script finished. Press any key to exit. +pause >nul \ No newline at end of file