Skip to content

Commit

Permalink
fix: fix_dbbackup_tool_cmd TencentBlueKing#7165
Browse files Browse the repository at this point in the history
  • Loading branch information
xfan0805 authored and iSecloud committed Sep 27, 2024
1 parent 4bc6ee0 commit 0928ab1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 0928ab1

Please sign in to comment.