update hanatool, fix backup compression
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user