Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 962 Bytes

tiup-component-cluster-meta-restore.md

File metadata and controls

34 lines (22 loc) · 962 Bytes
title
tiup cluster meta restore

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.

Note:

The restore operation overwrites the current meta file. It is recommended to restore the meta file only when it is lost.

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