mc replicate export 子命令用来导出服务器端复制配置,语法如下:
C:\> mc replicate export -h
NAME:
mc replicate export - export server side replication configuration
USAGE:
mc replicate export TARGET
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(1)将别名 “myminio” 的存储桶 “mybucket” 上的复制配置打印到 STDOUT。
C:\> mc replicate export myminio/mybucket(2)将别名 “myminio” 的存储桶 “mybucket” 上的复制配置导出到 “/data/replicate/config”。
C:\> mc replicate export myminio/mybucket > /data/replicate/config