mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-07 14:09:41 +01:00
Enable database backup compression
This commit is contained in:
@@ -82,6 +82,11 @@ flags()
|
|||||||
[ $# = 0 ] && error "No database name specified"
|
[ $# = 0 ] && error "No database name specified"
|
||||||
export DB_DATABASE="$1"
|
export DB_DATABASE="$1"
|
||||||
shift;;
|
shift;;
|
||||||
|
(-p|--port)
|
||||||
|
shift
|
||||||
|
[ $# = 0 ] && error "No database name specified"
|
||||||
|
export DB_PORT="$1"
|
||||||
|
shift;;
|
||||||
(-t|--timeout)
|
(-t|--timeout)
|
||||||
shift
|
shift
|
||||||
[ $# = 0 ] && error "No timeout specified"
|
[ $# = 0 ] && error "No timeout specified"
|
||||||
|
|||||||
Reference in New Issue
Block a user