add compression to backup
This commit is contained in:
@@ -11,7 +11,6 @@ HDBSQL_PATH="/usr/sap/hdbclient/hdbsql"
|
||||
# This key should be configured to connect to the target tenant database.
|
||||
USER_KEY="CRONKEY"
|
||||
|
||||
|
||||
# --- Backup Settings ---
|
||||
|
||||
# The base directory where all backup files and directories will be stored.
|
||||
@@ -26,6 +25,13 @@ BACKUP_BASE_DIR="/hana/backups/automated"
|
||||
# 'all' - Performs both the schema export and the tenant backup.
|
||||
BACKUP_TYPE="all"
|
||||
|
||||
# Schema can be compressed after exporting, decreasing it's size.
|
||||
COMPRESS_SCHEMA=true
|
||||
|
||||
# Same as COMPRESS_SCHEMA, but for the tenant. This can take a long time.
|
||||
# After testing this can save ~80% disk space. Takes around 5-10 minutes
|
||||
# for a 40GB tenant.
|
||||
COMPRESS_TENANT=true
|
||||
|
||||
# --- Target Identifiers ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user