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

Download PDFRequest docs changes
Was this page helpful?
Open Source Ecosystem
TiDB
TiKV
TiSpark
Chaos Mesh
© 2022 PingCAP. All Rights Reserved.