Sign InTry Free

tiup dm prune

When you scale in the cluster(/tiup/tiup-component-dm-scale-in.md), a small amount of metadata in etcd is not cleaned up, which usually causes no problem. If you need to clean up the metadata, you can manually execute the tiup dm prune command.

Syntax

tiup dm prune <cluster-name> [flags]

Option

-h, --help

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

Output

The log of the cleanup process.

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

Download PDFRequest docs changes
Was this page helpful?
Open Source Ecosystem
TiDB
TiKV
TiSpark
Chaos Mesh
© 2022 PingCAP. All Rights Reserved.