MinIO 客户端命令 mc replication 用于配置在 MinIO 服务器之间存储桶的复制。
语法如下:
C:\> mc replicate -h NAME: mc replicate - configure server side bucket replication USAGE: mc replicate COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...] COMMANDS: add add a server side replication configuration rule edit modify an existing server side replication configuration rule ls list server side replication configuration rules status show server side replication status resync, reset re-replicate all previously replicated objects export export server side replication configuration import import server side replication configuration in JSON format rm remove a server side replication configuration rule FLAGS: --config-dir value, -C value path to configuration folder (default: "C:\\Users\\Administrator\\mc") --quiet, -q disable progress bar display --no-color disable color theme --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help
下面将介绍 mc replicate 命令的各个子命令用法,如下表:
命令 | 描述 |
mc replicate add | 添加服务器端复制配置规则 |
mc replicate edit | 修改现有的服务器端复制配置规则 |
mc replicate ls | 列出服务器端复制配置规则 |
mc replicate status | 显示服务器端复制状态 |
mc replicate resync | 重新复制所有以前复制的对象 |
mc replicate export | 导出服务器端复制配置 |
mc replicate import | 以 JSON 格式导入服务器端复制配置 |
mc replicate rm | 删除服务器端复制配置规则 |