From a2e71f3c0021ec6ff424452175370420341c53ee Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Sun, 17 Dec 2023 19:26:42 +0100 Subject: [PATCH] Enable database backup compression --- README.md | 2 +- src/mysql_bkup.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 16c3e3c..eb101ca 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ MySQL Backup docker container image | --source | -s | Set source (default: local) | | --database | -db | Set database name | | --port | -p | Set database port (default: 3306) | -| --timeout | -t | Set timeout (default: 120s) | +| --timeout | -t | Set timeout (default: 60s) | | --help | -h | Print this help message and exit | | --version | -V | Print version information and exit | diff --git a/src/mysql_bkup.sh b/src/mysql_bkup.sh index 596ebe8..c30c9a3 100755 --- a/src/mysql_bkup.sh +++ b/src/mysql_bkup.sh @@ -8,6 +8,7 @@ export OPERATION=backup export DESTINATION=local export DESTINATION_DIR=/backup export SOURCE=local +export TIMEOUT=60 export FILE_COMPRESION=true usage_info() {