Documentation

Documentation

mc replicate

Table of Contents

Description

The mc replicate command configures and manages the Server-Side Bucket Replication for a MinIO deployment, including active-active replication configurations and resynchronization.

Note

For multi-site replication, see mc admin replicate.

Subcommands

mc replicate includes the following subcommands:

Subcommand

Description

add

The mc replicate add command creates a new server-side replication rule for a bucket on a MinIO deployment.

diff

The mc replicate diff shows a list of unreplicated new or deleted objects.

export

The mc replicate export command exports the JSON-formatted replication rules for a MinIO bucket to STDOUT.

import

The mc replicate import command imports JSON-formatted replication rules for a MinIO bucket from STDIN.

ls

The mc replicate ls command lists all replication rules on a MinIO bucket.

resync

The mc replicate resync command resynchronizes all objects in the specified MinIO bucket to a remote replication target.

rm

The mc replicate rm command removes a replication rule from a MinIO bucket.

status

The mc replicate status command displays the replication status of a MinIO bucket. The status also lists the remote target path or location.

update

The mc replicate update command modifies an existing bucket replication rule.