1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Updates for mc mirror parameters (#1300)

Closes #1270

- Adds some missing parameters to the syntax list.
- Adds the `--active-active` parameter.
This commit is contained in:
Daryl White
2024-08-16 15:20:04 -04:00
committed by GitHub
parent f27c16f30a
commit 31367cf36c

View File

@ -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: