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 local timestamp
timestamp=$(date +%Y%m%d_%H%M%S) 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 export_path="${export_dir}/${SCHEMA_NAME}_${timestamp}"
local archive_file="${export_path}.tar.gz" local archive_file="${export_path}.tar.gz"
@@ -85,7 +85,7 @@ perform_tenant_backup() {
local timestamp local timestamp
timestamp=$(date +%Y%m%d_%H%M%S) 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. # HANA will create the final file; we just provide the location and prefix.
local backup_path_prefix="${backup_dir}/backup_${timestamp}" local backup_path_prefix="${backup_dir}/backup_${timestamp}"

8
update.bat Normal file
View File

@@ -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