mc replicate status
Syntax
The mc replicate status
command displays the replication status of a MinIO bucket.
The status also lists the remote target path or location.
The following command displays the current replication status of the
mydata
bucket on the myminio
MinIO deployment:
mc replicate status myminio/mydata
The command has the following syntax:
mc [GLOBALFLAGS] replicate status TARGET
[--limit-upload value]
[--limit-download value]
Brackets
[]
indicate optional parameters.Parameters sharing a line are mutually dependent.
Parameters separated using the pipe
|
operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
- ALIAS
- Required
The alias of the MinIO deployment and full path to the bucket or bucket prefix for which to display the replication status. For example:
mc replicate status myminio/mybucket
- --limit-download
- Optional
Limit download rates to no more than a specified rate in KiB/s, MiB/s, or GiB/s. Valid units include:
B
for bytesK
for kilobytesG
for gigabytesT
for terabytesKi
for kibibytesGi
for gibibytesTi
for tebibytes
For example, to limit download rates to no more than 1 GiB/s, use the following:
--limit-download 1G
If not specified, MinIO uses an unlimited download rate.
- --limit-upload
- Optional
Limit upload rates to no more than the specified rate in KiB/s, MiB/s, or GiB/s. Valid units include:
B
for bytesK
for kilobytesG
for gigabytesT
for terabytesKi
for kibibytesGi
for gibibytesTi
for tebibytes
For example, to limit upload rates to no more than 1 GiB/s, use the following:
--limit-upload 1G
If not specified, MinIO uses an unlimited upload rate.
Global Flags
This command supports any of the global flags.
Examples
Display Replication Status
Use mc replicate status
to show bucket replication status:
mc replicate status ALIAS/PATH
Behavior
Removed and Re-added ARNs
Changed in version mc: RELEASE.2023-03-20T17-17-53Z
The standard output of this command does not display ARNs previously removed from a replication configuration.
To list all ARNs, including ARNs no longer part of the replication, use the --json
flag.
The json
output continues to show data replicated under old ARNs.
This may be valuable if an ARN was removed and re-added for the same bucket.
New ARNs do not cause re-replication of previously synced objects.