Connect DigitalOcean Spaces to FileMigrata
This article explains how to connect DigitalOcean Spaces to FileMigrata, for example to move objects to a cloud drive or an AWS bucket. Spaces is an object store. It is not a Droplet disk.
Limitations
- The Spaces CDN hostname (
*.cdn.digitaloceanspaces.com) does not support the S3 API. - A DigitalOcean personal access token is not a Spaces key.
- App Platform disks are not Spaces and are not supported.
- CORS settings on a Space are for browsers. FileMigrata does not use them.
What is migrated
FileMigrata copies files and objects over the Amazon S3 API or a compatible dialect. It does not copy IMAP mail.
- This store can be a source or a destination.
- Jobs copy by default and leave the source in place. Move, which deletes the source after verification, is optional.
- Only the current version of each file is copied. See Current files only.
- Re-runs skip objects whose hash already matches.
- Data streams through FileMigrata and is not stored. See We never store your files.
Prerequisites
- A Spaces access key, created under API > Spaces Keys. This is separate from your personal access token.
- The Space name (the bucket) and its region.
Connection details
| Setting | Value |
|---|---|
| Protocol | S3-compatible |
| Authentication | Access key |
| Endpoint | https://<region>.digitaloceanspaces.com (for example, nyc3, ams3, sgp1) |
| Regions | 11 |
| Limits | Spaces S3 API limits and per-Space quotas |
Steps
- In the DigitalOcean control panel, go to API > Spaces Keys and generate a key for FileMigrata.
- Note the region of the Space.
- In FileMigrata, select Digital Ocean / Spaces.
- Set the endpoint to
https://<region>.digitaloceanspaces.comand the bucket to the Space name. - Click Verify.
A successful Verify means FileMigrata could list the store. It does not mean a multi-terabyte migration will finish by a given date. For a dated cutover, contact sales. Start with one mapping. If a job fails partway, resume it rather than starting a duplicate.
Choosing the root
- Use one Space per mapping.
- Folders in a Space are key prefixes. You can use a prefix as the root.
- FileMigrata lists objects through the API, so control panel pagination does not affect it.
Troubleshooting
- InvalidAccessKeyId: You used a Droplet API token. Create a Spaces key.
- PermanentRedirect: The hostname has the wrong region. Match it to the Space (for example, nyc3 or ams3).
FAQ
Can I copy directly from Spaces to S3?
Yes. Both use the S3 API. If something does not match, include the raw vendor error in your support ticket rather than starting a second job.