From c7fd2ca555ac17771d971d4616e0974eca0ca88a Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 6 Aug 2022 00:17:19 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index cfce83911..718e58eab 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -2103,7 +2103,7 @@ def dumpMysqlData(version=''): dlist = findBinlogDoDb() cmd = mysql_dir + "/bin/mysqldump --defaults-file=" + myconf + " " + option + " -uroot -p" + \ pwd + " --databases " + \ - ' '.join(dlist) + " > gzip > /tmp/dump.sql.gz" + ' '.join(dlist) + " | gzip > /tmp/dump.sql.gz" else: cmd = mysql_dir + "/bin/mysqldump --defaults-file=" + myconf + " " + option + " -uroot -p" + \ pwd + " --databases " + args['db'] + " | gzip > /tmp/dump.sql.gz"