topo2topo

topo2topo

topo2topo copies Vitess topology data from one topo server to another.

Synopsis

topo2topo copies Vitess topology data from one topo server to another. It can also be used to compare data between two topologies.

  1. topo2topo [flags]

Options

  1. --alsologtostderr log to standard error as well as files
  2. --compare compares data between topologies
  3. --config-file string Full path of the config file (with extension) to use. If set, --config-path, --config-type, and --config-name are ignored.
  4. --config-file-not-found-handling ConfigFileNotFoundHandling Behavior when a config file is not found. (Options: error, exit, ignore, warn) (default warn)
  5. --config-name string Name of the config file (without extension) to search for. (default "vtconfig")
  6. --config-path strings Paths to search for config files in. (default [$WORKDIR])
  7. --config-persistence-min-interval duration minimum interval between persisting dynamic config changes back to disk (if no change has occurred, nothing is done). (default 1s)
  8. --config-type string Config file type (omit to infer config type from file extension).
  9. --do-keyspaces copies the keyspace information
  10. --do-routing-rules copies the routing rules
  11. --do-shard-replications copies the shard replication information
  12. --do-shards copies the shard information
  13. --do-tablets copies the tablet information
  14. --from_implementation string topology implementation to copy data from
  15. --from_root string topology server root to copy data from
  16. --from_server string topology server address to copy data from
  17. --grpc_enable_tracing Enable gRPC tracing.
  18. --grpc_max_message_size int Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216)
  19. --grpc_prometheus Enable gRPC monitoring with Prometheus.
  20. -h, --help help for topo2topo
  21. --keep_logs duration keep logs for this long (using ctime) (zero to keep forever)
  22. --keep_logs_by_mtime duration keep logs for this long (using mtime) (zero to keep forever)
  23. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  24. --log_dir string If non-empty, write log files in this directory
  25. --log_err_stacks log stack traces for errors
  26. --log_rotate_max_size uint size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
  27. --logtostderr log to standard error instead of files
  28. --pprof strings enable profiling
  29. --purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
  30. --security_policy string the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
  31. --stderrthreshold severity logs at or above this threshold go to stderr (default 1)
  32. --to_implementation string topology implementation to copy data to
  33. --to_root string topology server root to copy data to
  34. --to_server string topology server address to copy data to
  35. --v Level log level for V logs
  36. -v, --version print binary version
  37. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging