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

说说我的看法
全部评论(
没有评论
关于
本网站专注于 Java、数据库(MySQL、Oracle)、Linux、软件架构及大数据等多领域技术知识分享。涵盖丰富的原创与精选技术文章,助力技术传播与交流。无论是技术新手渴望入门,还是资深开发者寻求进阶,这里都能为您提供深度见解与实用经验,让复杂编码变得轻松易懂,携手共赴技术提升新高度。如有侵权,请来信告知:hxstrive@outlook.com
其他应用
公众号