Documentation

Migrata Systems help

Connect DigitalOcean Spaces to FileMigrata

If your agency already uses DigitalOcean Spaces and you need those objects in a tenant drive or an AWS bucket, this guide walks you through connecting Spaces in FileMigrata. Spaces is an object storage service, and it is not a Droplet disk or the Spaces CDN hostname.



What You’ll Learn

This guide explains the details that this connector needs from you before you start the connection. It also describes how the first job behaves once it runs, so you can set your expectations early.

  • This page lists the keys, region, and endpoint that the vendor requires from you before you begin.
  • You can create a limited key instead of relying on a root login that has full access to everything.
  • The steps show how to connect the bucket in FileMigrata and then run the Verify check on it.
  • This guide helps you decide which bucket or prefix you should pick as the root for the mapping.
  • FileMigrata copies the current objects of the Space, and copy is the default behaviour for every new job.
  • The last section lists the usual errors for this vendor and the fix for each one of them.



What you need

Gather the following details before you open FileMigrata, because the connection needs every one of them from you.

  • A Spaces access key is separate from the DigitalOcean personal access token that you use for Droplets.
  • You also need the Space name, which is the bucket, together with the region that holds it.

FileMigrata talks to an S3-compatible API that follows the shape that is described in the list below.

  • The protocol for this vendor is s3-compatible, and the endpoint follows the regional form https://<region>.digitaloceanspaces.com that the Space itself shows.
  • Authentication relies on access-key credentials rather than on a control panel login, because the API host rejects personal tokens.
  • Our dataset lists 11 regions for this vendor, and the limits are the Spaces S3 API plus per-space quotas.



Connect Digital Ocean in FileMigrata

  1. Open the DigitalOcean control panel, go to API and then Spaces Keys, and generate a new key for FileMigrata, because a limited key is safer than a root login.
  2. Note the region that the console shows for the Space that you plan to connect, because the hostname depends on it.
  3. In FileMigrata, choose Digital Ocean / Spaces, set the endpoint to https://<region>.digitaloceanspaces.com, and set the bucket to the Space name.

A successful Verify run means that FileMigrata listed that store and can see the objects inside it. That result does not mean that a multi-terabyte estate will finish on Sunday, so plan a cutover carefully. If you need a dated cutover, talk to sales so the team can plan the timing with you.

The Run your first file migration page covers copy versus move, resume, and checksums in more detail.



Pick the right root

You should use one Space for each mapping that you create in FileMigrata, because the root decides what gets copied. The folders that you see inside a Space are really prefixes in the object key, so a prefix can be your root. The file listing in the control panel can hide pagination, because FileMigrata lists objects through the API instead.



What FileMigrata copies

FileMigrata copies files and objects over the Amazon S3 API, or over a compatible dialect of that API. FileMigrata does not copy IMAP mail through this connector, because the object storage API cannot read a mailbox. You can use this Spaces store as either the source or the destination of a job that you define. The default job copies the data and leaves the source objects in place, so nothing moves unless you ask. A move deletes the source after verification, and that mode is available but is not the default. Each job takes the current version of every file, and the Current files only page explains that rule. A re-run skips every object whose hash already matches the copy that landed in the destination. Transfers stream through our service, because we do not keep a second copy of your files anywhere. The We never store your files page explains that promise in detail, and it is worth reading first.



DigitalOcean Spaces-specific things to watch for

The Spaces CDN is a cache that sits in front of the Space, so you must never use it as the API endpoint. The DigitalOcean personal access token is not an S3 key, because each credential type serves a different API. CORS settings on a Space exist for browser clients, and FileMigrata does not use them for its API calls.



Common problems

InvalidAccessKeyId appears when you used a Droplet API token, so you should create a Spaces key first.

PermanentRedirect appears when the hostname carries the wrong region, so match nyc3 or ams3 to the Space.



FAQ

Can I copy data directly from Spaces to S3? Yes, both sides are S3-generic, and a transfer between them works as expected. If that does not match what you see, include the raw vendor error in the ticket instead of starting a second job.

Does this connector read a container's App Platform disk? App Platform disks are not Spaces, because this connector cannot see a container's ephemeral disk.



Related FileMigrata docs

When both sides are connected, start with a single mapping and then run your first file migration before you scale up. If something fails halfway through, resume the same job instead of starting a duplicate job from scratch.