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

Fixing formatting error in replication code blocks

This commit is contained in:
ravindk89
2021-06-11 21:51:56 -04:00
parent aa11b9c208
commit aecd223e75

View File

@ -365,19 +365,19 @@ bucket.
--service "replication" --service "replication"
[--sync] [--sync]
- Replace ``SOURCEBUCKET`` with the name of the source bucket on the - Replace ``SOURCEBUCKET`` with the name of the source bucket on the
``Alpha`` cluster. ``Alpha`` cluster.
- Replace ``HOSTNAME`` with the URL of the ``Baker`` cluster. - Replace ``HOSTNAME`` with the URL of the ``Baker`` cluster.
- Replace ``DESTINATIONBUCKET`` with the name of the target bucket on the - Replace ``DESTINATIONBUCKET`` with the name of the target bucket on the
``Baker`` cluster. ``Baker`` cluster.
- Specify the :mc-cmd-option:`~mc admin bucket remote add sync` option to - Specify the :mc-cmd-option:`~mc admin bucket remote add sync` option to
enable synchronous replication. Omit the option to use the default of enable synchronous replication. Omit the option to use the default of
asynchronous replication. See the reference documentation for asynchronous replication. See the reference documentation for
:mc-cmd-option:`~mc admin bucket remote add sync` for more information :mc-cmd-option:`~mc admin bucket remote add sync` for more information
on synchronous vs asynchronous replication. on synchronous vs asynchronous replication.
The command returns an ARN similar to the following: The command returns an ARN similar to the following:
@ -401,24 +401,24 @@ replication rule to the source MinIO cluster.
--arn 'arn:minio:replication::<UUID>:DESTINATIONBUCKET' \ --arn 'arn:minio:replication::<UUID>:DESTINATIONBUCKET' \
--replicate "delete,delete-marker" --replicate "delete,delete-marker"
- Replace ``SOURCEBUCKET`` with the name of the bucket from which Alpha - Replace ``SOURCEBUCKET`` with the name of the bucket from which Alpha
replicates data. The name *must* match the bucket specified when replicates data. The name *must* match the bucket specified when
creating the remote target in the previous step. creating the remote target in the previous step.
- Replace the ``DESTINATIONBUCKET`` with the name of the ``Baker`` bucket to - Replace the ``DESTINATIONBUCKET`` with the name of the ``Baker`` bucket to
which Alpha replicates data. The name *must* match the bucket specified which Alpha replicates data. The name *must* match the bucket specified
when creating the remote target in the previous step. when creating the remote target in the previous step.
- Replace the ``--arn`` value with the ARN returned in the previous step. - Replace the ``--arn`` value with the ARN returned in the previous step.
Ensure you specify the ARN created on the ``Alpha`` cluster. You can use Ensure you specify the ARN created on the ``Alpha`` cluster. You can use
:mc-cmd:`mc admin bucket remote ls` to list all remote ARNs configured :mc-cmd:`mc admin bucket remote ls` to list all remote ARNs configured
on the cluster. on the cluster.
- The ``--replicate "delete,delete-marker"`` flag enables replicating delete - The ``--replicate "delete,delete-marker"`` flag enables replicating delete
markers and deletion of object versions. See markers and deletion of object versions. See
:mc-cmd-option:`mc replicate add replicate` for more complete :mc-cmd-option:`mc replicate add replicate` for more complete
documentation. Omit these fields to disable replication of delete documentation. Omit these fields to disable replication of delete
operations. operations.
Specify any other supported optional arguments for Specify any other supported optional arguments for