diff options
author | intrigeri <intrigeri@boum.org> | 2013-12-26 15:42:22 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2013-12-26 15:42:22 +0000 |
commit | 29e2c75ede42b329d38dbf843ac35afb9148305c (patch) | |
tree | ab6b579327eb1d682f038693cc8bbae73cb82108 | |
parent | b8b8b46fbaf9acbdc769d311a064ab89bb670ef7 (diff) | |
download | backupninja-29e2c75ede42b329d38dbf843ac35afb9148305c.tar.gz backupninja-29e2c75ede42b329d38dbf843ac35afb9148305c.tar.bz2 |
mysql: make "nodata" option compatible with compress=no.
-rw-r--r-- | handlers/mysql.in | 2 |
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\"" |