跳转至

etcdctl make-mirror

help

$  etcdctl  make mirror --help
NAME:
        make-mirror - Makes a mirror at the destination etcd cluster

USAGE:
        etcdctl make-mirror [options] <destination> [flags]

OPTIONS:
      --dest-cacert=""                  Verify certificates of TLS enabled secure servers using this CA bundle
      --dest-cert=""                    Identify secure client using this TLS certificate file for the destination cluster
      --dest-insecure-transport[=true]  Disable transport security for client connections
      --dest-key=""                     Identify secure client using this TLS key file
      --dest-prefix=""                  destination prefix to mirror a prefix to a different prefix in the destination cluster
  -h, --help[=false]                    help for make-mirror
      --no-dest-prefix[=false]          mirror key-values to the root of the destination cluster
      --prefix=""                       Key-value prefix to mirror