From c82c676ac71f03f9a55851213b6e956f04dc5eda Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Tue, 10 Jan 2023 14:05:21 +0000 Subject: [PATCH] update --- backUpDB.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backUpDB.sh b/backUpDB.sh index e7aecdf..3a3de2c 100755 --- a/backUpDB.sh +++ b/backUpDB.sh @@ -11,7 +11,7 @@ ossPath=$7 PATH=PATH:/usr/bin:/usr/sbin:/usr/local/bin cd $backUpPath -/usr/bin/mysqldump -R --opt --protocol=TCP --user=${dbUser} --password=${dbPassword} --host=${dbHost} --port=${dbPort} ${dbName} > ${dbName}.sql +/usr/bin/mysqldump -R --opt --protocol=TCP --user=${dbUser} --password=${dbPassword} --host=${dbHost} --port=${dbPort} ${dbName} > ${backUpPath}/${dbName}.sql cd $backUpPath rm ${dbName}.sql_bak3.tar.gz