mc admin replicate
Description
The mc admin replicate command creates and manages site replication for a set of MinIO AIStor peer sites.
Site replication mimics an active-active bucket replication, but for multiple MinIO AIStor deployments. Wherever a change occurs to IAM settings, buckets, or objects across the set of sites, the change replicates across all sites in the site replication group.
Where bucket replication manages the mirroring of particular buckets or objects from one location to another within a deployment or across deployments, site replication continuously mirrors an entire MinIO AIStor site to other sites.
mc admin replicate only supports site replication for distributed deployments when configuring site replication.
Only one deployment can have any data when initiating a new site replication configuration.
Site replication enforces bucket versioning on all buckets, including existing buckets and any buckets added after initiating site replication.
Site replication fully synchronizes versioned objects, compared to mc mirror which operates only on the latest version of an object
Subcommands
The mc admin replicate command has the following subcommands:
| Subcommand | Description |
|---|---|
| mc admin replicate add | Create a new site replication configuration or expand an existing configuration. |
| mc admin replicate info | Returns information about site replication configuration. |
| mc admin replicate resync | Resynchronizes content from one site to a second site if the second site has lost data. |
| mc admin replicate rm | Removes an entire site replication configuration or one or more peer sites from participating in site replication. |
| mc admin replicate status | Displays the status for replicable data across participating sites. |
| mc admin replicate update | Modify a peer site in the site replication configuration, including its endpoint, the replication mode, the bucket bandwidth limit, and whether ILM expiration rules replicate. |