From 0928ab10029257cb56fb6ecfaa5e4970f20b3664 Mon Sep 17 00:00:00 2001 From: xfan0805 Date: Fri, 27 Sep 2024 10:49:42 +0800 Subject: [PATCH] fix: fix_dbbackup_tool_cmd #7165 --- .../db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go b/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go index da2863d0fb..b12da7e49e 100644 --- a/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go +++ b/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go @@ -664,7 +664,7 @@ func (d *DbMigrateDumper) getBackupCmd() (backupCmd string) { // getBackupCmdOption 拼接数据备份参数选项 func (d *DbMigrateDumper) getBackupCmdOption() (opt string) { - opt = fmt.Sprintf(" --data-schema-grant=%s --backup-dir=%s --cluster-domain=xx.xx --databases %s", + opt = fmt.Sprintf(" --data-schema-grant=%s --backup-dir=%s --cluster-domain=xx.xx --databases %s --tables \\*", d.DataSchemaGrant, d.DumpDir, d.DbNames) return opt }