Skip to content

Commit

Permalink
Update restore.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Song Gao committed Apr 22, 2020
1 parent 411a1aa commit db480be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/backup-manager/app/import/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ func (ro *Options) loadTidbClusterData(restorePath string) error {
"--backend=tidb",
"--server-mode=false",
"--log-file=",
fmt.Sprintf("--tidb-port=%d", ro.Port),
fmt.Sprintf("--tidb-user=%s", ro.User),
fmt.Sprintf("--tidb-password=%s", ro.Password),
fmt.Sprintf("--tidb-host=%s", ro.Host),
fmt.Sprintf("--d=%s", restorePath),
fmt.Sprintf("--tidb-port=%d", ro.Port),
}

output, err := exec.Command("/tidb-lightning", args...).CombinedOutput()
Expand Down

0 comments on commit db480be

Please sign in to comment.