mc replicate resync 子命令用来重新复制所有以前复制的对象,语法如下:
C:\> mc replicate resync -h
NAME:
mc replicate resync - re-replicate all previously replicated objects
USAGE:
mc replicate resync 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
--older-than value re-replicate objects older than n days
--help, -h show help(1)为别名 “myminio” 重新复制存储桶 “mybucket” 中先前复制的对象。
C:\> mc replicate resync myminio/mybucket(2)重新复制存储桶 “mybucket” 中超过 60 天的所有对象。
C:\> mc replicate resync myminio/mybucket --older-than 60d