2.6 KiB
mc replicate ls
minio
Table of Contents
mc replicate list
mc replicate ls
RELEASE.2022-12-24T15-21-38Z
mc replicate ls
replaces the
mc admin bucket remote ls
command.
Syntax
The mc replicate ls
command lists all replication rules <minio-bucket-replication-serverside>
on a MinIO bucket.
The mc replicate list
command has equivalent functionality to mc replicate ls
.
EXAMPLE
The following command lists all enabled replication rules for the
mydata
bucket on the myminio
MinIO
deployment:
mc replicate ls --status "enabled" myminio/mydata
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] replicate ls \
[--status "string"] \
ALIAS
Parameters
ALIAS
The alias <alias>
of the MinIO deployment and full
path to the bucket or bucket prefix for which to list the replication
rules. For example:
mc replicate ls myminio/mybucket
--status
Filter replication rules on the bucket based on their status. Specify one of the following values:
enabled
- Show only enabled replication rules.disabled
- Show only disabled replication rules.
If omitted, mc replicate ls
defaults to showing all replication
rules.
Global Flags
Examples
List Existing Replication Rules
Use mc replicate ls
to list bucket replication rules:
mc replicate ls ALIAS/PATH
- Replace
ALIAS <mc replicate ls ALIAS>
with thealias <mc alias>
of the MinIO deployment. - Replace
PATH <mc replicate ls ALIAS>
with the path to the bucket or bucket prefix.