TiDBTiDB Docs Dash 2024

Jan 9 - Jan 12 (UTC)
Join us to improve docs and win a prize!
Sign InTry Free

tiup mirror

In TiUP, mirror is an important concept. TiUP currently supports two forms of mirroring:

  • Local mirror: the TiUP client and the mirror are on the same machine, and the client accesses the mirror through the file system.
  • Remote mirror: the TiUP client and the mirror are not on the same machine, and the client accesses the mirror through network.

The tiup mirror command is used to manage mirrors and provides ways to create mirrors, distribute components, and manage keys.

Syntax

tiup mirror <command> [flags]

<command> stands for sub-commands. For the list of supported sub-commands, refer to the command list below.

Option

None

Command list

  • genkey: generates the private key file
  • sign: signs a specific file using a private key file
  • init: initiates an empty mirror
  • set: sets the current mirror
  • grant: grants a new component owner for the current mirror
  • publish: publishes new components to the current mirror
  • modify: modifies the attributes of the components in the current mirror
  • rotate: updates the root certificate in the current mirror
  • clone: clones a new mirror from an existing one
  • merge: merges mirrors

<< Back to the previous page - TiUP Reference 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.