Sign InTry Free

tiup cluster meta restore

To restore the TiUP meta file, you can use the tiup cluster meta restore command to restore from the backup file.

Syntax

tiup cluster meta restore <cluster-name> <backup-file> [flags]
  • <cluster-name> is the name of the cluster to be operated on.
  • <backup-file> is the path to the TiUP meta backup file.

Options

-h, --help

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

Output

The execution logs of tiup-cluster.

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

Download PDF
Products
TiDB Cloud
TiDB
Pricing
Get Demo
© 2023 PingCAP. All Rights Reserved.