mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-06 21:49:40 +01:00
Enable database backup compression
This commit is contained in:
@@ -24,7 +24,7 @@ MySQL Backup docker container image
|
|||||||
| --source | -s | Set source (default: local) |
|
| --source | -s | Set source (default: local) |
|
||||||
| --database | -db | Set database name |
|
| --database | -db | Set database name |
|
||||||
| --port | -p | Set database port (default: 3306) |
|
| --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 |
|
| --help | -h | Print this help message and exit |
|
||||||
| --version | -V | Print version information and exit |
|
| --version | -V | Print version information and exit |
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export OPERATION=backup
|
|||||||
export DESTINATION=local
|
export DESTINATION=local
|
||||||
export DESTINATION_DIR=/backup
|
export DESTINATION_DIR=/backup
|
||||||
export SOURCE=local
|
export SOURCE=local
|
||||||
|
export TIMEOUT=60
|
||||||
export FILE_COMPRESION=true
|
export FILE_COMPRESION=true
|
||||||
usage_info()
|
usage_info()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user