We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d9c5ce commit 0817b49Copy full SHA for 0817b49
bin/v-dump-database
@@ -17,7 +17,7 @@
17
user=$1
18
database=$2
19
output=$3
20
-compression=${4-none}
+compression=$4
21
22
# Includes
23
# shellcheck source=/etc/hestiacp/hestia.conf
@@ -29,7 +29,7 @@ source $HESTIA/func/db.sh
29
# load config file
30
source_conf "$HESTIA/conf/hestia.conf"
31
32
-check_args '2' "$#" 'USER DATABASE'
+check_args '2' "$#" 'USER DATABASE [OUTPUT] [COMPRESSION]'
33
is_format_valid 'user' 'database'
34
is_system_enabled "$DB_SYSTEM" 'DB_SYSTEM'
35
is_object_valid 'user' 'USER' "$user"
0 commit comments