From 31367cf36c5526379be730bf4747b9ac2648de33 Mon Sep 17 00:00:00 2001 From: Daryl White <53910321+djwfyi@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:20:04 -0400 Subject: [PATCH] Updates for mc mirror parameters (#1300) Closes #1270 - Adds some missing parameters to the syntax list. - Adds the `--active-active` parameter. --- source/reference/minio-mc/mc-mirror.rst | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/source/reference/minio-mc/mc-mirror.rst b/source/reference/minio-mc/mc-mirror.rst index 3d9a1335..e9249645 100644 --- a/source/reference/minio-mc/mc-mirror.rst +++ b/source/reference/minio-mc/mc-mirror.rst @@ -50,6 +50,7 @@ The :mc:`mc mirror` command synchronizes content to MinIO deployment, similar to :class: copyable mc [GLOBALFLAGS] mirror \ + [--active-active] \ [--attr "string"] \ [--disable-multipart] \ [--dry-run] \ @@ -63,10 +64,14 @@ The :mc:`mc mirror` command synchronizes content to MinIO deployment, similar to [--monitoring-address "string"] \ [--newer-than "string"] \ [--older-than "string"] \ + [--overwrite] \ [--preserve] \ [--region "string"] \ [--remove] \ + [--retry] \ + [--skip-errors] \ [--storage-class "string"] \ + [--summary] \ [--watch] \ SOURCE \ TARGET @@ -116,6 +121,28 @@ Parameters :mc:`mc mirror` uses the object or file names from the :mc-cmd:`~mc mirror SOURCE` when synchronizing to the ``TARGET`` bucket. +.. mc-cmd:: --active-active + :optional: + + Establish active-active mirror activities between two sites. + The command must be repeated on each site. + + For example: + + On site A, to mirror from A to B + + .. code-block:: + :class: copyable + + mc mirror --active-active siteA siteB + + On site B, to mirror from B to A + + .. code-block:: + :class: copyable + + mc mirror --active-active siteB siteA + .. mc-cmd:: --attr :optional: