update backup suite
This commit is contained in:
@@ -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
8
update.bat
Normal 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
|
||||||
Reference in New Issue
Block a user