Copy file to bucket
Upload a local file to MinIO
mc cp ./file.tar.gz myminio/my-bucket/backups/
More minio commands
-
mc mirror --watch ./data myminio/my-bucket/dataContinuously sync a local directory to a bucket
-
mc admin info myminioShow server capacity, uptime, drives, and status
-
mc du --depth 1 myminioShow storage size per bucket
-
mc ilm import myminio/my-bucket < lifecycle.jsonApply object expiry/transition lifecycle rules to a bucket
-
mc rm myminio/my-bucket/path/to/file.txtDelete a specific object from a bucket