TiDBTiDB Docs Dash 2024

Jan 9 - Jan 12 (UTC)
Join us to improve docs and win a prize!
Sign InTry Free

tiup dm destroy

After an application goes offline, if you want to release the machines occupied by the cluster for use by other applications, you need to clean up the data on the cluster and the deployed binary files. To destroy the cluster, the tiup dm destroy command performs the following operations:

  • Stops the cluster.
  • For each service, delete its log directory, deployment directory, and data directory.
  • If the parent directory of the data directory or deployment directory of each service is created by tiup-dm, also delete the parent directory.

Syntax

tiup dm destroy <cluster-name> [flags]

<cluster-name>: the name of the cluster to be destroyed.

Option

-h, --help

  • Prints the help information.
  • Data type: Boolean
  • Default: false

Output

The execution log of the tiup-dm.

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

Was this page helpful?

Download PDFRequest docs changesAsk questions on Discord
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.