fix(hanatool): Improve backup notifications and bump version

This commit is contained in:
2025-10-08 20:09:38 +02:00
parent c35f2528cf
commit 6a94e19a94
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# Version: 1.5.3
# Version: 1.5.4
# ==============================================================================
# SAP HANA Schema and Tenant Management Tool (hanatool.sh)
#
@@ -230,10 +230,10 @@ case "$ACTION" in
echo "❌ Error: Failed to create archive from '${backup_target_dir}'."
fi
fi
send_notification "Tenant backup for user key '${USER_KEY}' completed successfully."
send_notification "HANA tenant '${TENANT_NAME}' backup completed successfully."
else
echo "❌ Error: Failed to initiate tenant backup (hdbsql exit code: ${EXIT_CODE})."
send_notification "Tenant backup for user key '${USER_KEY}' FAILED."
send_notification "HANA tenant '${TENANT_NAME}' backup FAILED."
if [[ "$COMPRESS" == "true" && "$DRY_RUN" == "false" ]]; then rm -rf "$backup_target_dir"; fi
fi
;;