UI for the following has been removed from MinIO Console: - Lifecycle and tiering - Site replication - SUBNET Waiting for merge of https://github.com/minio/console/pull/3472 Staged: http://192.241.195.202:9000/staging/DOCS-1372/linux/administration/minio-console.html http://192.241.195.202:9000/staging/DOCS-1372/linux/administration/bucket-replication.html http://192.241.195.202:9000/staging/DOCS-1372/linux/operations/install-deploy-manage/multi-site-replication.html#id4 fixes https://github.com/minio/docs/issues/1372 --------- Co-authored-by: Jennifer Rondeau <Bradamant3@users.noreply.github.com>
2.1 KiB
Use the mc replicate add command to add a new replication rule
to each MinIO deployment.
mc replicate add ALIAS/BUCKET \
--remote-bucket 'https://USER:PASSWORD@HOSTNAME:PORT/BUCKET' \
--replicate "delete,delete-marker,existing-objects"
Replace
ALIASwith thealias <alias>of the origin MinIO deployment. The name must match the bucket specified when creating the remote target in the previous step.Replace
BUCKETwith the name of the bucket to replicate from on the origin deployment.Replace the
--remote-bucketto specify the remote MinIO deployment and bucket to which theALIAS/BUCKETreplicates.The
USER:PASSWORDmust correspond to a user on the remote deployment with thenecessary replication permissions <minio-bucket-replication-serverside-twoway-permissions>.The
HOSTNAME:PORTmust resolve to a reachable MinIO instance on the remote deployment. TheBUCKETmust exist and otherwise meet all otherreplication requirements <minio-bucket-replication-requirements>.The
--replicate "delete,delete-marker,existing-objects"flag enables the following replication features:Replication of Deletes <minio-replication-behavior-delete>Replication of existing Objects <minio-replication-behavior-existing-objects>
See
mc replicate add --replicatefor more complete documentation. Omit any field to disable replication of that component.
Specify any other supported optional arguments for mc replicate add.
Use mc cp to copy a
new object to the replicated bucket on one of the deployments.
mc cp ~/foo.txt ALIAS/BUCKET
Use mc ls to verify
the object exists on the destination bucket:
mc ls ALIAS/BUCKET