tiup cluster meta backup
The TiUP meta file is used for cluster operation and maintenance (OM). If this file is lost, you cannot use TiUP to manage the cluster. To avoid this situation, you can use the
tiup cluster meta backup command to back up the TiUP meta file regularly.
tiup cluster meta backup <cluster-name> [flags]
<cluster-name> is the name of the cluster to be operated on. If you forget the cluster name, you can check it using the
tiup dm list command.
--file (string, defaults to the current directory)
Specifies the target directory to store the TiUP meta backup file.
- Prints the help information.
- Data type:
- 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
truevalue or do not pass any value.
The execution logs of tiup-cluster.