mc replicate rm

🎉摘要:MinIO 是一个基于Apache License v2.0开源协议的对象存储服务。它兼容亚马逊S3云存储服务接口,非常适合于存储大容量非结构化的数据,例如图片、视频、日志文件、备份数据和容器/虚拟机镜像等,而一个对象文件可以是任意大小,从几kb到最大5T不等。

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

说说我的看法
全部评论()
没有评论