update hanatool, fix backup compression

This commit is contained in:
2026-03-23 15:45:59 +01:00
parent b22f275b2d
commit f784014805
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
# Version: 1.5.9
# Version: 1.6.0
# Author: Tomi Eckert
# ==============================================================================
# SAP HANA Schema and Tenant Management Tool (hanatool.sh)
@@ -169,7 +169,7 @@ if [[ ! -x "$HDBSQL_PATH" ]]; then
fi
# Calculate default threads if not specified and action is not backup
if [[ "$THREADS" -eq 0 && "$ACTION" != "backup" ]]; then
if [[ "$THREADS" -eq 0 ]]; then
TOTAL_THREADS=$(nproc --all)
THREADS=$((TOTAL_THREADS / 2))
if [[ "$THREADS" -eq 0 ]]; then