mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2026-11-13 16:47:14 +00:00
Enable database backup compression
This commit is contained in:
1 parent
54cb493448
commit
0b3db992a6
1 file changed
+5
@@ -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