Migrate self-hosted MinIO to Amazon S3
This article explains how to copy a self-hosted MinIO bucket into an Amazon S3 bucket or prefix with FileMigrata.
FileMigrata does not install an agent on the MinIO host. Its engines connect to MinIO over the network.
Limitations
- MinIO site-replication metadata and console-only users are not copied.
- The FileMigrata engines must reach the MinIO API port. A MinIO server on your laptop's
localhostcannot be reached. - Port 9001 is the MinIO Console, not the object API.
- Clock skew on the MinIO host breaks SigV4 signatures. Fix time sync first.
- Self-signed certificates that the engine does not trust fail the TLS check.
What is migrated
- Every object returned by ListBucket
Prerequisites
- A MinIO service account, a trusted TLS certificate, path-style addressing, and the API port (not 9001). See Connect MinIO.
- S3 put permission on the destination. See Connect Amazon S3.
- A network path from the FileMigrata engines to the MinIO API.
Mapping
- Map one MinIO bucket to an S3 bucket or prefix.
- Keep path-style addressing on for MinIO.
Steps
The same MinIO source works for Wasabi or R2. Change only the destination. For Ceph RGW, use Connect Ceph as the source.
Troubleshooting
- Timeout: There is no route to port 9000. Check the VPN or private link, then resume the job.
- XMinioServerNotInitialized: The cluster is not ready. Wait, then run Verify again.
- Network dropped: Resume the same job.