aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2013-12-26 15:42:22 +0000
committerintrigeri <intrigeri@boum.org>2013-12-26 15:42:22 +0000
commit29e2c75ede42b329d38dbf843ac35afb9148305c (patch)
treeab6b579327eb1d682f038693cc8bbae73cb82108
parentb8b8b46fbaf9acbdc769d311a064ab89bb670ef7 (diff)
downloadbackupninja-29e2c75ede42b329d38dbf843ac35afb9148305c.tar.gz
backupninja-29e2c75ede42b329d38dbf843ac35afb9148305c.tar.bz2
mysql: make "nodata" option compatible with compress=no.
-rw-r--r--handlers/mysql.in2
1 files changed, 1 insertions, 1 deletions
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\""