minio
10 commands
10 shown
Configure mc alias
Register a MinIO server in the mc client
mc alias set myminio https://minio.example.com ACCESSKEY SECRETKEY
List buckets
Show all buckets on the server
mc ls myminio
Create bucket
Create a new S3-compatible bucket
mc mb myminio/my-bucket
Copy file to bucket
Upload a local file to MinIO
mc cp ./file.tar.gz myminio/my-bucket/backups/
Mirror local dir to bucket
Continuously sync a local directory to a bucket
mc mirror --watch ./data myminio/my-bucket/data
Server info
Show server capacity, uptime, drives, and status
mc admin info myminio
Disk usage per bucket
Show storage size per bucket
mc du --depth 1 myminio
Set lifecycle policy
Apply object expiry/transition lifecycle rules to a bucket
mc ilm import myminio/my-bucket < lifecycle.json
Remove object
Delete a specific object from a bucket
mc rm myminio/my-bucket/path/to/file.txt
Remove bucket recursively
Delete a bucket and all its objects
mc rb --force myminio/my-bucket
no commands match