Sign InTry Free

tiup dm import Only for upgrading DM v1.0

In DM v1.0, the cluster is basically deployed using TiDB Ansible. TiUP DM provides the import command to import v1.0 clusters and redeploy the clusters in DM v2.0.

Syntax

tiup dm import [flags]

Options

-v, --cluster-version

  • Specifies the version number for redeploying. You must use a version later than v2.0.0-rc.2 (including v2.0.0-rc.2).
  • Data type: STRING
  • This option is required to execute the command.

-d, --dir

  • Specifies the directory of TiDB Ansible.
  • Data type: STRING
  • If this option is not specified in the command, the current directory is the default directory.

--inventory

  • Specifies the name of the Ansible inventory file.
  • Data type: STRING
  • If this option is not specified in the command, the default file name is "inventory.ini".

--rename

  • Renames the imported cluster.
  • Data type: STRING
  • If this option is not specified in the command, the default cluster name is the cluster_name specified in the inventory file.

-h, --help

  • Prints help information.
  • Data type: BOOLEAN
  • This option is disabled by default with the false value. To enable this option, add this option to the command, and either pass the true value or do not pass any value.

Outputs

The log of the importing process.

<< 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.