From: intrigeri Date: Thu, 26 Dec 2013 15:42:22 +0000 (+0000) Subject: mysql: make "nodata" option compatible with compress=no. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=29e2c75ede42b329d38dbf843ac35afb9148305c;p=backupninja.git mysql: make "nodata" option compatible with compress=no. --- diff --git a/handlers/mysql.in b/handlers/mysql.in index 6ade49e..9472b8e 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -302,7 +302,7 @@ then if [ "$compress" == "yes" ]; then execstr="$DUMP | $GZIP $GZIP_OPTS > '$dumpdir/${db}.sql.gz'" else - execstr="$DUMP -r '$dumpdir/${db}.sql'" + execstr="$DUMP > '$dumpdir/${db}.sql'" fi fi debug "su $user -c \"$execstr\""