mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
2.4 KiB
2.4 KiB
mc replicate ls
minio
Table of Contents
mc replicate ls
Syntax
The mc replicate ls
command lists all replication rules <minio-bucket-replication-serverside>
on a MinIO bucket.
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
Required 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
Optional 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.