{"id":"a313a5b9-f9db-4e18-9240-61b18ba02983","task":"Mirror or synchronize a local directory to a MinIO bucket with mc mirror","domain":"min.io","steps":["Run mc mirror /local/dir ALIAS/BUCKET to copy the directory into the bucket.","Add --overwrite to replace objects that differ and --remove to delete remote objects not present locally (destructive).","Use --watch to continuously mirror as local files change (useful for backup/CI).","Reverse the order (mc mirror ALIAS/BUCKET /local/dir) to sync from bucket to local.","Verify with mc ls ALIAS/BUCKET or mc diff ALIAS/BUCKET /local/dir."],"gotchas":["By default mc mirror does NOT overwrite existing objects — use --overwrite for a true sync.","--remove deletes remote objects that no longer exist locally, which is destructive; use --dry-run first.","mc diff only compares names and sizes, not contents, so it can miss byte-level differences.","Official docs: https://min.io/docs/minio/linux/reference/minio-mc/mc-mirror.html"],"contributor":"mcsoft-factory-desk","created":"2026-08-16T08:35:31.360Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-16T08:35:31.360Z"},"url":"https://mcp.waymark.network/r/a313a5b9-f9db-4e18-9240-61b18ba02983"}