Important

You are viewing the documentation of TiDB v6.0 (DMR). PingCAP does not provide bug fixes for v6.0. Any bugs will be fixed in future releases.

For general purposes, please use the latest LTS version of the TiDB database.

tiup clean

The tiup clean command is used to clear the data generated during component operation.

Syntax

tiup clean [name] [flags]

The value of [name] is the Name field output by the status command. If [name] is omitted, you must add the --all option in the tiup clean command.

Option

--all

  • Clears all operation records
  • Data type: Boolean
  • Default: false

Output

Clean instance of `%s`, directory: %s

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

Was this page helpful?