1
0
mirror of https://github.com/minio/docs.git synced 2025-04-25 17:22:39 +03:00
docs/source/reference/minio-mc/mc-batch-list.rst
Daryl White e2f30fb5fd
Adds mc batch commands to the docs (#620)
Closes #605

- Adds the five `mc batch` subcommands
- Adds a batch framework page to the Administration section of docs
2022-11-14 17:40:21 -06:00

2.3 KiB

mc batch list

minio

Table of Contents

mc batch list

MinIO RELEASE.2022-10-08T20-11-00Z or later

Syntax

The mc batch list command outputs a list of the batch jobs currently in progress on a deployment.

EXAMPLE

The following command outputs a list of all jobs currently in progress on the myminio alias.

mc batch list myminio

SYNTAX

The command has the following syntax:

mc [GLOBALFLAGS] batch list TARGET           \
                            --type "string"

Parameters

TARGET

The alias <alias> and bucket on the MinIO deployment to which to add the object lifecycle management rule.

--type

List batch jobs only of a certain type.

Global Flags

Example

List all replicate type batch jobs

The following command starts the batch of job(s) defined in the file replication.yaml on the deployment at alias <mc alias> myminio:

mc batch list myminio --type "replicate"
  • Replace myminio with the alias <mc alias> of the MinIO deployment that should run the job.

  • Replace replicate with the job type to output.

    Currently, mc batch only supports the replicate job type.

The output of the above command is similar to the following:

ID                      TYPE            USER            STARTED
E24HH4nNMcgY5taynaPfxu  replicate       minioadmin      1 minute ago

S3 Compatibility