mc replicate rm

mc replicate rm 子命令用来删除服务器端复制配置规则,语法如下:

C:\> mc replicate rm -h
NAME:
  mc replicate rm - remove a server side replication configuration rule

USAGE:
  mc replicate rm 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
  --id value                    id for the rule, should be a unique value
  --force                       force remove all the replication configuration rules on the bucket
  --all                         remove all replication configuration rules of the bucket, force flag enforced
  --help, -h                    show help

示例

(1)删除存储桶 “mybucket” 上别名 “myminio” 的复制配置规则,规则 ID 为 “bsib5mgt874bi56l0fmg”。

C:\> mc replicate rm --id "bsib5mgt874bi56l0fmg" myminio/mybucket

(2)删除存储桶 “mybucket” 上别名 “myminio” 的所有复制配置规则,--force 标志是必需的。

C:\> mc replicate rm --all --force myminio/mybucket
说说我的看法
全部评论(
没有评论
关于
本网站属于个人的非赢利性网站,转载的文章遵循原作者的版权声明,如果原文没有版权声明,请来信告知:hxstrive@outlook.com
公众号