You are viewing the documentation of an older version of the TiDB database (TiDB v5.3).

It is recommended that you use the latest LTS version of the TiDB database.

tiup dm replay

When you perform a cluster operation such as upgrade or restart, the operation might fail due to cluster environment issues. If you re-perform the operation, you need to perform all the steps from the very beginning. If the cluster is large, re-performing these steps will take a long time. In this case, you can use the tiup dm replay command to retry the failed commands and skip the successfully performed steps.


tiup dm replay <audit-id> [flags]
  • <audit-id>: the audit-id of the command to be retried. You can view the historical commands and their audit-ids using the tiup dm audit command.


-h, --help

Prints the help information.


The output of the command corresponding to <audit-id>.

<< Back to the previous page - TiUP DM command list

Was this page helpful?