]> gitweb.fluxo.info Git - backupninja.git/commitdiff
mysql: make "nodata" option compatible with compress=no.
authorintrigeri <intrigeri@boum.org>
Thu, 26 Dec 2013 15:42:22 +0000 (15:42 +0000)
committerintrigeri <intrigeri@boum.org>
Thu, 26 Dec 2013 15:42:22 +0000 (15:42 +0000)
handlers/mysql.in

index 6ade49e88e882a495dcb0f02de0f77b750d20ee4..9472b8e5ddfed8c96a611da7f3d847c20ac4bc9b 100644 (file)
@@ -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\""