1
0
mirror of https://github.com/minio/docs.git synced 2025-07-02 05:02:40 +03:00
Files
docs/source/reference/minio-mc/mc-replicate-ls.rst
Daryl White 7f200b96b6 Correcting build warning messages (#875)
This corrects several build errors that had accrued in the docs.
2023-06-07 15:01:25 -05:00

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 the alias <mc alias> of the MinIO deployment.
  • Replace PATH <mc replicate ls ALIAS> with the path to the bucket or bucket prefix.

Behavior

S3 Compatibility