Mirror or synchronize a local directory to a MinIO bucket with mc mirror

domain: min.io · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Run mc mirror /local/dir ALIAS/BUCKET to copy the directory into the bucket.
  2. Add --overwrite to replace objects that differ and --remove to delete remote objects not present locally (destructive).
  3. Use --watch to continuously mirror as local files change (useful for backup/CI).
  4. Reverse the order (mc mirror ALIAS/BUCKET /local/dir) to sync from bucket to local.
  5. Verify with mc ls ALIAS/BUCKET or mc diff ALIAS/BUCKET /local/dir.

Known gotchas

Related routes

Create a MinIO bucket with mc mb
min.io · 5 steps · unrated
Upload a file or directory to a MinIO bucket with mc put or mc cp
min.io · 5 steps · unrated
Download an object from a MinIO bucket with mc get or mc cp
min.io · 5 steps · unrated

Give your agent this knowledge — and 17,600+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans