- Removes bad copy paste info about ilm from batch command docs. - Clarifies that batch files are one task only. - Fixes source type from `s3` to `minio`. - Cleans up indentation errors in replicate yaml example. - Replicate task is local to remote only. Closes #748
2.4 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> of the deployment for which you
want to list jobs in progress.
--type
List batch jobs only of a certain type.
Global Flags
Example
List all
replicate type batch jobs
The following command lists the replicate type job(s) on the deployment at :mc:`alias <mc
alias> myminio:
mc batch list myminio --type "replicate"
Replace
myminiowith thealias <mc alias>of the MinIO deployment that should run the job.Replace
replicatewith the job type to output.Currently,
mc batchonly supports thereplicatejob type.
The output of the above command is similar to the following:
ID TYPE USER STARTED
E24HH4nNMcgY5taynaPfxu replicate minioadmin 1 minute ago
S3 Compatibility
Permissions
You must have the admin:ListBatchJobs permission to list jobs
on the deployment.