How to export data from DigitalOcean Spaces, and what stays behind
Object contents can be copied out of DigitalOcean Spaces through its S3-compatible API using standard tools such as rclone, so the data itself is portable. What does not move is everything around the objects: access keys, bucket policies and CORS settings, CDN endpoints and custom domains, presigned URL signatures already issued to users, and your billing history. Plan to recreate each of those on the destination side before you cut over.
Before you start, check DigitalOcean's current Spaces documentation for the exact listing and export options, request and object-count limits, and how Cold Storage objects must be restored before they can be read. No vendor documentation was supplied for this page, so treat any limit or restore behavior you have seen elsewhere as unverified until you confirm it for your account and region. Also confirm whether your buckets use object versioning or lifecycle rules, because copying only the current version will silently drop older versions and any retention you depend on.
Next, decide what a renewal or exit means for the data still in Spaces. The safest sequence is to copy, verify checksums and object counts on the destination, switch application endpoints, and only then delete the source. Keep the source readable until your restore tests pass, and ask your finance team to confirm which charges continue during that overlap, including storage for retained copies and any transfer charges on the export itself.
Finally, inventory the places that reference Spaces URLs. Application configuration, mobile clients, email templates, and third-party systems that hold signed links will all break at different times. Presigned links expire on their own schedule, so a link issued today may still be in use weeks later. Record which consumers hold long-lived links and agree a date after which the old endpoint stops answering.
What you can export from Spaces and how
This table maps each kind of Spaces data to the export method, output format and limits you should confirm before copying. Read it as a pre-copy checklist: work through each row for every bucket, and note where DigitalOcean's documentation or your own test copy must settle a question. The main takeaway is that object contents copy cleanly with rclone, while versions, Cold Storage state and bucket settings need separate handling.
| Data type | Export method | Output format | Limits to confirm |
|---|---|---|---|
| Object contents in each bucket | rclone copy using the S3 backend with the Spaces endpoint | Files in a local directory or target bucket, same keys as in Spaces | Spaces endpoint string, rclone version and provider flags in DigitalOcean's docs |
| Object metadata and content types | rclone copy with metadata preservation enabled in the S3 backend | Content type and user metadata carried to the target where the target supports them | Which headers your rclone version preserves and which the target ignores |
| Object versions, if versioning was enabled | List and copy each version explicitly, or treat current objects as the migration set | Separate version objects in the target, or current objects only if you accept dropping history | Whether your target supports versioning; Garage does not implement bucket versioning |
| Cold Storage objects | Restore or read objects through the Spaces API before copying, then copy with rclone | Standard objects once restored; restored copies may need their own retention period | Restore behavior, minimum storage duration and any early deletion charges in DigitalOcean's pricing docs |
| Bucket listings and object counts | Run a full listing with rclone lsjson or size commands before and after copying | Text or JSON inventory used as the checksum-style reconciliation record | Listing speed and any request limits on Spaces; verify from DigitalOcean before large runs |
| Bucket-level settings such as CORS and lifecycle rules | Export with the S3 API or the DigitalOcean control panel, then recreate on the target | Exported configuration kept as files for review and re-entry | Which settings the target implements; Garage supports only some lifecycle actions and no bucket policies |
What does not export and the workaround for each
Copying objects with rclone moves the bytes, but several parts of a Spaces setup live outside the bucket: credentials, CDN and certificate configuration, signed links and billing history. Each one needs a named owner and a replacement before the copy starts, so that cutover does not depend on remembering them under pressure.
Access keys and secrets
Spaces access keys and secret values cannot be read back from the DigitalOcean control panel, so nothing about them can be copied across. Every application, CI job and rclone profile that uses a Spaces key needs a new key pair created in the destination, scoped to the destination bucket only. Inventory every consumer before cutover, because any service you miss will fail with authentication errors on the day the old keys are revoked. Plan to issue new keys, then revoke the old ones only after verification.
CDN endpoints and certificates
Spaces CDN endpoints and any custom domain certificates managed through DigitalOcean do not move with the bucket. Public URLs served through the CDN will stop resolving once the subscription ends, so the replacement caching layer and DNS records must exist and be tested before the old endpoint is retired. Confirm who owns the TLS certificate for each custom hostname and where its renewal is handled, since that is easy to lose track of after cancellation.
Presigned URLs
A presigned URL carries a signature created with the secret of the Spaces key that issued it. Copying the object does not carry the signature, and links already sent to users or stored in databases will fail once that key is revoked. The application must generate new presigned URLs with the destination key after cutover, and any stored or emailed links need a plan for expiry or regeneration. Check that the destination supports the signature version and request features your application uses.
Billing and usage history
Invoices, usage reports and the record of storage and transfer charges stay in the DigitalOcean account and are not exported as part of the bucket. Finance and audit teams may need this history for cost allocation, tax records or a dispute over past overage. Download the invoices and usage exports for the full retention period your finance policy requires before the account is closed, and store them with the migration records.
Spaces settings without an S3 equivalent
Some Spaces settings, such as CDN options, bucket-level controls specific to DigitalOcean or console-only features, have no direct equivalent in the destination. Build an inventory of every bucket setting, CORS rule, lifecycle rule and access policy, then mark each as recreated, replaced or dropped. Where a setting is dropped, record the decision and the person who approved it, so that a later audit or incident review can see why the behavior changed.
Export sequence for a complete copy
This sequence moves every Spaces bucket, object version and Cold Storage object to your target with a documented inventory, a logged copy and a verification record, so you can cut over and cancel the subscription on evidence rather than memory.
Inventory buckets, versions and Cold Storage objects
List every Spaces bucket in each region, then record object counts, total bytes, whether versioning is enabled and which objects sit in Cold Storage. Keep the output as a dated inventory file per bucket, stored with the migration record. The step is done when the inventory totals can be reconciled against the Spaces billing view by the person who owns the account.
Record keys, CDN and presigned URL flows
Document every access key and its bucket permissions, every CDN endpoint attached to a bucket, and every application path that issues presigned URLs or depends on public object URLs. Assign an owner to each item. The output is a dependency register that lists which applications, scripts and customer-facing links must change at cutover.
Decide retention and the cutover window
Agree in writing which data must be kept, for how long, and whether any bucket needs write-once retention or legal hold on the target. Confirm with your compliance owner whether the target platform supports the controls you rely on, since some self-hosted stores lack object locking or versioning. The signed change record names the cutover window, the rollback owner and the retained data set.
Budget transfer and early deletion exposure
Estimate egress beyond the included transfer allowance and any early deletion charges on Cold Storage objects that you will delete after copying. Use the current Spaces pricing page and your inventory totals, and confirm with DigitalOcean how overage and early deletion are billed for your account. Keep the calculation with the change record so finance approves the copy before it starts.
Run a test copy on one bucket with rclone
Configure rclone with a Spaces remote and a remote for the target, then copy one non-critical bucket using a dry run first and then a real run. Include object versions only if the target supports them, and note any objects rclone skips or fails. The output is a test log plus a list of object-level differences, which you review before scaling up.
Run the full copy with logs
Copy the remaining buckets in batches, using rclone with logging enabled and a log file per bucket. Keep credentials out of shell history and scripts, and record the rclone version used. The step closes when every batch log shows its transfer result and no unresolved errors remain.
Verify the copy against the inventory
Compare object counts, byte totals and checksums between the inventory and the target for every bucket, and sample presigned URL and CDN-replacement paths end to end. Record every mismatch and its resolution. The verification report, signed by the data owner, is the evidence that gates the cutover.
Switch application endpoints and keep the rollback
Update application configuration, DNS and CDN or caching endpoints to the target, issue new keys, and retire old Spaces keys after traffic confirms the new path. Keep the Spaces bucket readable for the rollback period agreed in step three. The completed change record lists each endpoint switched and the date each old key was revoked.
Verifying the copy before you cancel the subscription
Verification should happen before anyone cancels the Spaces subscription, and it should compare three things on both sides: object counts, total bytes per bucket and a checksum sample of objects chosen across prefixes and sizes. Run rclone check (or an equivalent comparison) with the same S3 backend settings used for the copy, so source and destination are read the same way. Compare each bucket separately and record the results per bucket, not as one total, because a single matching total can hide a missing prefix. If versioned buckets are in scope, confirm that the versions you planned to carry over are present, since current objects alone do not prove that older versions moved.
ETags are not always plain content hashes. For objects uploaded in multiple parts, the ETag is derived from the part hashes and the part count, so it will often differ between two copies of identical bytes if the part size differs, and it can match only when the uploader used the same layout. Decide before the comparison which check is authoritative: size and count for every object, a full checksum where the destination stores one, and a byte-level comparison for the sample. Write that decision into the migration record so an auditor or colleague can see why a mismatch was accepted or investigated. Confirm the checksum behavior of both your Spaces objects and your destination with the tool versions you actually run.
Keep the Spaces buckets read-only during verification so the source does not drift while you compare, and disable the application write paths that still point at it. Hold the buckets, their keys and any Spaces CDN configuration for a retention period your team sets in advance, long enough to cover a final verification pass and any rollback. Before cancellation, ask DigitalOcean in writing whether data can be restored after the subscription ends, how long any retained data is kept, and whether deleted buckets can be recovered. Record the answers, because the retention window you choose depends on them. Deleting the source is the step that cannot be reversed, so it should follow a signed-off verification report, not precede it.
What can add cost during the export
The Spaces subscription is not the only line item that moves during an exit. Transfer, archived objects, the copy host and staff time all change the total, and the overlap period decides how long you pay for both platforms. Rates and minimums for each item must come from DigitalOcean's current pricing page, which should be checked before the copy starts.
Transfer beyond the included allowance
Each Spaces plan includes a monthly transfer allowance, and traffic above it is billed. A full copy reads every object out of Spaces, so the bulk export can exceed the allowance for the month, even if normal application traffic stays inside it. Size the export by total stored bytes, then check whether the copy runs in the same month as your regular egress. Spreading the copy across days, or running it in a month with lower application traffic, lowers the overage. Confirm the overage rate and the allowance on the pricing page.
Cold Storage retrieval and early deletion
Objects in Cold Storage must be restored before they can be copied, and restore requests are billed. Cold Storage also carries a minimum storage duration, so objects deleted or moved before that period ends can still be charged for the remainder. Inventory which objects sit in Cold Storage before planning the copy, and decide whether they should be restored, copied in their archived form or left until the cancellation date. The retrieval fee, the early deletion charge and the minimum duration all come from DigitalOcean's current pricing page.
Staging host running rclone
rclone runs from a machine you control, which may be a small VM in DigitalOcean, a server on your network or a laptop for small buckets. A VM in the same region as Spaces shortens the copy and keeps traffic off the public internet, but it bills for every hour it runs. Its size should follow the number of parallel transfers and the volume of data, and it should be destroyed once verification is complete. Ask whether the staging host will be billed by the hour or the month and whether outbound transfer from it counts toward the account allowance.
Staff time on inventory and endpoint changes
Most of the effort is not the copy itself. Someone must list every bucket, version state, lifecycle rule, CDN origin, presigned URL flow and access key, then confirm each application that reads or writes those buckets. Each endpoint and key change needs testing and a rollback plan. The effort depends on how many applications touch Spaces, how well the existing configuration is documented and whether application owners can take part in the cutover window. Ask any implementation partner to break the quote into inventory, copy, verification and cutover work.
Overlap period with both platforms paid
Spaces stays billed until the subscription is cancelled, and the new store has its own servers, storage and bandwidth from the day it goes live. The length of the overlap is the main lever. A shorter overlap reduces double payment but leaves less room to fix problems found after cutover. Keep the Spaces bucket readable until checksums match, application logs show no reads from old endpoints and any restore test has passed. Agree the cancellation date with finance before the cutover, so the overlap has a fixed end.
How the export moves data out of Spaces
The export starts with the Spaces buckets and any Cold Storage objects, which are read by an rclone job running on a staging host you control. The copy lands in the destination store, either Garage or SeaweedFS, and nothing else changes yet. A verification step compares the copy with the source and sends mismatched objects back for another pass. Only after verification passes do you switch application and CDN endpoints. The presigned URL branch runs separately: the application reissues links from the new store instead of carrying old Spaces links forward.
Export flow from Spaces through rclone, verification and endpoint cutover.
What to plan before the Spaces contract ends
Most of the risk in leaving Spaces sits in dates and dependencies rather than in the copy itself. The cards below cover the decisions to settle before renewal or termination, and each one feeds the cutover plan, so settle them in roughly this order.
Notice period and billing end date
Read the notice period and the exact date billing stops in your DigitalOcean subscription terms, and confirm both with the vendor in writing. Map that date against your copy window, because a termination date that falls before the copy finishes leaves you paying for overlap or losing access to data. Ask whether Cold Storage objects carry minimum duration charges that apply on deletion, and note any early deletion terms that affect when you can empty buckets.
Cutover date and overlap period
Fix a cutover date for application writes and an overlap period during which both Spaces and the new store serve reads. Overlap is where most of the cost sits, because the Spaces subscription and any transfer beyond the included allowance keep running until the subscription ends. Agree the overlap length with the application owners before the copy starts, so that the decision is not made under pressure on the last day.
Key rotation and old key removal
List every Spaces access key, including keys held by CI jobs, backup tools, scripts and third-party services, and assign each one to an owner. Create new keys on the destination with permissions scoped to the buckets each service needs, then remove the Spaces keys only after every consumer has switched and been checked. Garage and SeaweedFS manage permissions differently from Spaces, so write down what each old key could do before you map it to a new one.
CDN and DNS cutover with TTL planning
Spaces' built-in CDN endpoints and any custom domains pointing at them must be replaced with your own caching layer or origin before the subscription ends. Lower DNS TTLs on the affected records well ahead of the switch, then raise them again once the new endpoints are stable. Check every place a CDN hostname is hard-coded, including mobile app builds, email templates and partner integrations, since those will not follow a DNS change automatically.
Audit and access log retention
Before the account closes, export whatever access logs, billing records and key activity history your compliance and security teams need, and confirm the retention period each one must meet. Logs held only inside the Spaces control panel may not be available after cancellation, so ask the vendor what can be exported and in what format. Store the exports in a location with the same access controls you apply to production data.
Written acceptance test for the copy
Define the acceptance test in writing before copying begins: object counts per bucket, total bytes, checksum comparison for a sample or all objects, and a check of object metadata and content types. If versioning is in use, decide whether prior versions must be carried over or whether only current objects are in scope, and record that decision. Destination gaps, such as missing versioning or bucket policies in Garage, change what must be rebuilt, so review the sibling migration pages for Garage and SeaweedFS before fixing the test criteria.
What buyers ask before exporting from Spaces
How long does it take to export data from DigitalOcean Spaces?
The duration is set mostly by total data volume, object count and the rate the copy can sustain, not by the migration tool itself. Object count matters as much as bytes, because many small objects add per-request overhead on both ends. Spaces applies its own request and rate limits, so the copy pace depends on how many parallel transfers you run within those limits. Bandwidth between Spaces and your destination, and the capacity of the destination cluster to absorb writes, are the other two levers. Ask your team for an inventory by bucket with total bytes and object counts, then run a timed test copy of one representative bucket before you commit to a schedule.
Can our own engineers run the export without outside help?
Often yes, for a bounded set of buckets and a team that already runs Linux servers and S3 tooling. The copy itself is routine: rclone reads from Spaces and writes to an S3-compatible target, and it supports many S3-compatible providers. The harder parts are the decisions around it: which features the destination lacks, how keys and endpoints change in each application, and how you verify the result before cancelling. If those decisions are already owned by people with time to spare, an internal team can handle it. If not, a fixed-scope engagement with written deliverables can cover planning, copying, verification and cutover support.
What does the export need from our staff?
The work needs three roles: someone who owns the inventory and the cutover decision, someone who runs and monitors the copy, and application owners who change endpoints, keys and any hard-coded URLs. Each application team must list where it calls Spaces, including CDN hostnames, signed link generators and lifecycle or Cold Storage assumptions. Security staff should review how new access keys are issued and scoped on the destination. Plan for review time from each group at the start and at cutover, because most delays come from unlisted dependencies rather than from copying.
Can Spaces keep serving traffic while the copy runs?
Yes, if you copy while the source stays live and then run a delta sync just before cutover. The initial copy captures the bulk of the data, and repeated incremental passes pick up objects written or changed in the meantime. Objects deleted during the window need a policy, because a sync that only adds data will leave stale copies behind. Keep the application pointed at Spaces until verification passes, then switch endpoints in a short window and run one more delta pass. Confirm with your platform team whether a brief write freeze is acceptable for the last pass, since that sets the length of the cutover.
How do we handle presigned URLs and CDN links during the move?
Presigned URLs embed the access key and signature for the original endpoint, so they stop working once the key is retired or the host changes. Before cutover, list every code path that generates presigned links and every stored link that persists in a database or email. Regenerate new links from the destination after the switch, and set a clear expiry plan for links already issued. Spaces' built-in CDN is a separate concern: the CDN endpoint must be replaced with your own caching layer or origin, and its certificates and DNS records must be updated. Test downloads from each client type after the change.
What are the main cost drivers, and where do I get current prices?
Your exit cost is driven by stored volume, the amount of data transferred out of Spaces beyond the allowance included in your subscription, request volume, and any early deletion charges for objects in Cold Storage that you remove before their minimum duration. Destination costs add servers, disks, network capacity and the staff time to operate and back up the new cluster. Spaces pricing, included allowances and Cold Storage minimums change over time, so take current figures from the DigitalOcean pricing page and your own invoices, not from older articles. Ask any provider for a written quote that separates one-time migration work from recurring operating costs.
Can DeployOpen run the export for us?
DeployOpen plans, implements, integrates, backs up and documents self-hosted open-source platforms inside your own infrastructure, and that includes planning and running the move of data onto them. Most engagements are fixed-scope, so the buckets in scope, deliverables, verification steps and timelines are agreed in writing before work starts. Cutover support, verification evidence and any ongoing operation can be covered by a retainer. DeployOpen does not publish a price list, so the quote follows from the written scope and your inventory.
How DeployOpen scopes and delivers a Spaces exit
DeployOpen plans and carries out the Spaces exit inside your own infrastructure, from the bucket inventory through to the cutover. Each step is scoped in writing before work starts, so the inventory, transfer plan, endpoint changes and verification evidence are agreed up front and handed to your team.
How we scope
- Inventory every Spaces bucket, object version and Cold Storage object that the move must carry across.
- Record which applications, CDN endpoints and presigned URL flows depend on each bucket before any copy starts.
- Agree in writing which features the target can carry, such as versioning or bucket policies, and which need a replacement.
How we build
- Set up the target storage cluster in your cloud account, data center or air-gapped network, with keys and buckets recreated to match.
- Run rclone copies sized to the Spaces rate limits, with checksum comparison between source and destination.
- Replace CDN endpoints with your own caching layer and test every presigned URL flow against the new endpoint.
How we hand over
- Deliver the migration runbook, endpoint and key change log, and object-level verification results.
- Provide documentation of the target configuration, backup destinations and recovery steps for your operations team.
- Confirm with your team the checks that must pass before the Spaces subscription is cancelled, and record the sign-off.
How we support
- Offer ongoing support, upgrades and continuous testing of the self-hosted storage as a retainer.
- Retest the cutover endpoints and access controls after any change to the storage cluster or its configuration.
- Coordinate with your compliance team on the evidence they need, while independent auditors perform any formal assessment.

