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:
@@ -82,6 +82,11 @@ flags()
|
||||
[ $# = 0 ] && error "No database name specified"
|
||||
export DB_DATABASE="$1"
|
||||
shift;;
|
||||
(-p|--port)
|
||||
shift
|
||||
[ $# = 0 ] && error "No database name specified"
|
||||
export DB_PORT="$1"
|
||||
shift;;
|
||||
(-t|--timeout)
|
||||
shift
|
||||
[ $# = 0 ] && error "No timeout specified"
|
||||
|
||||
Reference in New Issue
Block a user