How to move your data out of Backblaze B2

Most object data in a Backblaze B2 bucket can be copied out through the B2 native backend or the S3-compatible endpoint, but Object Lock retention, region-bound accounts and account-level settings set the timeline. This guide covers the documented export paths, what does not transfer, the copy sequence, verification and contract planning.

On this page

How to move your data out of Backblaze B2 before the account closes

A team leaving Backblaze B2 because of a renewal, a pricing change, a residency rule or lock-in concerns should know that object contents can be copied out with tools such as rclone, while Object Lock retention, the region fixed at account creation and account-level settings decide the timeline. Copying is usually the quick part. Objects under compliance retention cannot be deleted or overwritten until their retention period ends, so a bucket holding locked data cannot simply be emptied and closed. Before planning dates, list every bucket, its Object Lock mode and its region, and confirm with Backblaze how the account and its buckets are handled once you stop using them.

The main export path is a copy job run from a machine with enough bandwidth and storage, using rclone's dedicated Backblaze B2 backend or its S3-compatible settings. Backblaze also offers Cloud Replication, which can copy data between buckets, so check whether it fits your source and target before choosing a tool. Copy into a staging bucket first, then compare object counts, total bytes and sample checksums against the source. Note which items do not transfer automatically: object lock settings, lifecycle rules, bucket policies, application keys, event notifications and version history may need to be recreated on the target. Plan for egress charges and the free allowance by reading Backblaze's current pricing, egress allowance and overage terms on its own website, since these figures change and should not be taken from third-party pages.

Before closing the account, verify the copy and the cutover. Run a full inventory comparison, confirm that versions and metadata you need are present, restore a sample of files and test your backup or application jobs against the new endpoint. Keep the source data until verification is signed off and any retention periods have expired. Document each step as evidence for your records and any compliance review, and confirm with your auditors which retention and deletion evidence they expect. Ask Backblaze in writing what happens to data, keys and billing once the account is closed.

Which Backblaze B2 data exports, and through which path

This table lists each category of B2 data, the path that moves it, what the destination holds, and the limits to confirm before you close the account. Read it row by row, because object contents move easily while metadata, versions, keys and retention settings often need a manual step.

Data typeExport methodRepresentation on the destinationLimits to confirm
Object contentsCopy with rclone's B2 backend, or with rclone's S3 backend against the B2 S3-compatible endpointSame object bytes under the same key paths in a destination bucketCheck Backblaze's documented limits and rclone's transfer and checksum flags for your object sizes
Object metadata and custom file infoTest with a small sample first; rclone's B2 and S3 backends handle custom metadata differentlySurviving fields depend on the path chosen, so verify content type and custom headers after copyConfirm the metadata flags for each backend in rclone's B2 and S3 documentation
Object versions and delete markersUse rclone's versioning flags to copy specific versions, and confirm how delete markers are representedOld versions may appear as separate objects, and delete markers may not carry over as markersConfirm the version and delete-marker flags in rclone's documentation and test on a sample bucket
Bucket names and bucket settingsRecreate by hand on the destinationBuckets exist only when you create them; names are unique per providerBucket name rules differ between B2 and your destination, so confirm naming before planning keys
Application keysNot exported; reissue on the destinationNew access identities must be mapped to each application that reads or writes dataPlan a cutover window so each application gets its new endpoint and credentials
Lifecycle and Object Lock settingsRead the existing configuration and recreate it by handRetention and lifecycle rules do not copy automatically, so each rule needs a manual definitionObject Lock compliance retention cannot be shortened, so confirm the retention period before any copy

What does not leave Backblaze B2 and how to work around it

Some parts of a Backblaze B2 account cannot be moved by copying objects. Object Lock retention, the region chosen at account creation, application keys, billing records and Cloud Replication settings each need a different step. Plan these before you copy a single object, because some of them set the order and timing of the whole move.

Object Lock compliance retention

Locked objects cannot be deleted or overwritten until their retention period ends, and compliance retention cannot be shortened or removed by anyone, including the account owner. Copying a locked object to a new system does not remove the lock on the original. Keep the locked data in B2 until expiry, run the copy in parallel for everything else, and confirm the exact rule for each retention mode in Backblaze's Object Lock documentation before you set a close date for the account.

Region fixed at account creation

The region chosen when the B2 account was created determines where its data is stored, and it cannot be changed on the existing account. Moving data out therefore means copying into a new account or storage system in a location you choose. Confirm with Backblaze which region your account uses, and record it so the destination's location can be matched against your residency and contract requirements.

Application keys and secrets

Application keys issued by B2 do not transfer to another platform. Every backup tool, script, and application that reads or writes buckets needs new credentials on the destination, and those credentials must be scoped to the same buckets and permissions. Inventory every key and its consumers first, then reissue them and switch each endpoint in a planned sequence so no job fails silently during the cutover.

Billing history and usage reports

Billing records and usage history stay with the Backblaze account and are not part of the data copy. Export invoices, daily storage and transaction reports, and any cost allocation tags you rely on before you close the account. Auditors and finance teams often ask for this history after the account is gone, so store the exports in your own records system with a clear retention period.

Cloud Replication jobs and settings

If you use Cloud Replication, its job definitions and settings are tied to the B2 account and will not carry over. Document every source bucket, destination, schedule, and filter before you change anything. Then rebuild equivalent jobs on the destination, and confirm how replication behaves for objects under Object Lock and for objects already copied, using Backblaze's current documentation.

How the copy flows from Backblaze B2 to your own storage

The copy starts on an export host running rclone, which reads the Backblaze B2 bucket through the B2 backend or its S3-compatible endpoint and writes to the destination you choose: Ceph RGW, SeaweedFS or Garage. Because this host holds credentials for both systems, treat it as a trust boundary and restrict and log its keys. A verification step compares object counts, byte totals and checksums between source and destination. Any mismatched prefix goes back through the copy, and B2 stays read-only until retention has expired and the business signs off on closing the account, as rclone check results can confirm.

Copy path from B2 to self-hosted storage, with verification and a closing gate.

Steps to export a complete copy from Backblaze B2

This sequence produces a verified copy of every bucket, object version and retention setting on the destination, so you can switch applications over and close the B2 account without losing data or breaking compliance records.

  1. Inventory buckets, versions and access settings

    List every B2 bucket in the account, with its region, whether versioning is on, whether Object Lock is enabled, lifecycle rules, and the application keys that read or write it. Record object counts and total stored bytes per bucket, including non-current versions, since those are often the largest share. Whoever owns the account should sign off on the inventory. It is done when every bucket has a row in a shared record and no bucket is unaccounted for.

  2. Record Object Lock state and expiry dates

    For each bucket with Object Lock enabled, record the retention mode and retain-until date for every locked object version, and note any legal holds. Compliance mode retention cannot be shortened or removed before it expires, so these dates decide when B2 can be closed and how the copy must be recreated. Confirm the retention schedule with your compliance or records owner. It is done when each locked version has a known expiry date and a named owner for the record.

  3. Choose the destination and create matching buckets

    Pick the self-hosted platform and create one bucket per source bucket with the features the data needs. Check the platform's documentation first, because Garage does not support object versioning, Object Lock or server-side encryption, and Ceph RGW supports versioning and Object Lock in versioned buckets. Your infrastructure team creates the buckets and confirms the settings. It is done when each destination bucket exists and its feature support is written down against the source.

  4. Configure rclone remotes for B2 and the destination

    Set up two rclone remotes in the configuration file, one using rclone's Backblaze B2 backend with a read-only application key, and one for the destination using its S3 endpoint and a dedicated write key. Keep the keys out of shell history and scripts. Run a listing against each remote to confirm credentials and endpoints work. It is done when both remotes list the source and destination buckets without errors.

  5. Run a test copy on one bucket

    Choose one representative bucket, ideally one with versions and a mix of object sizes, and copy it with logging enabled. Compare object counts and total bytes between source and destination, and note any errors, skipped files or throttling. Use the timing from this run to estimate the full copy window, which depends on data volume, object count and link speed. It is done when the test bucket matches the source and the log has no unexplained failures.

  6. Run the full copy per bucket with logs kept

    Copy the remaining buckets one at a time, writing each run's log to a retained location so that every transfer has evidence. Re-run any bucket that reports errors until the log is clean. Keep the B2 source untouched during copying, and avoid deletions on the destination. It is done when every bucket has a completed log with no outstanding errors.

  7. Verify the copy and recreate policies and keys

    Compare object counts, sizes and checksums or ETags against the source for each bucket, and spot-check versions and retention dates on the destination. Then recreate access policies, lifecycle rules, retention settings and application keys as destination identities, mapping each B2 key to a scoped destination credential. Record any differences and fix them before cutover. It is done when the verification report shows matching results and every application has a tested credential.

  8. Switch applications in a parallel-run window and close B2

    Point applications and backup tools to the new endpoint while B2 stays readable for a parallel-run period, so any missed reads can be traced. Once applications run cleanly on the destination, set B2 to read-only, keep it that way until the last Object Lock retention date has passed, and then close the account. It is done when no application writes to B2, locked data has passed its retention dates, and the account closure is recorded.

Choosing an export path: rclone, S3 endpoint or Cloud Replication

The rclone B2 backend connects to Backblaze B2 through its native API, so the copy uses the application keys and bucket names you already manage. rclone is an MIT-licensed command-line tool with a separate backend for Backblaze B2 and documented support for many S3-compatible providers, including Ceph and SeaweedFS as destinations. This path suits teams that want a scripted, repeatable copy with checksums and a dry run before any data moves.

  • Setup: Create an application key scoped to the source buckets with read access, then run rclone config and choose the B2 backend with the key ID and application key.
  • Preserves: Object names, directory structure and object contents, copied object by object.
  • Leaves behind: Object Lock retention, bucket settings, lifecycle rules and key definitions. Recreate these on the destination yourself.
  • Egress: Every byte you read is download traffic from B2. Ask Backblaze how the free download allowance applies to your account and what the overage rate is before you start.
  • Verification: Run rclone check after the copy to compare sizes and hashes between source and destination.

Confirm how your bucket versions are handled, because a default copy moves only the current version of each object unless you request more.

How to verify the Backblaze B2 copy before you close the account

Do not close the Backblaze B2 account until the destination copy has been verified in three layers. The first layer compares object counts, byte totals and checksums for each bucket and for each prefix that matters to your applications. Run the same listing against the source and the destination, and where the B2 and S3 checksum metadata differ in form, compare what each side reports for a fixed sample rather than assuming they match. Any mismatch in counts or totals should block closure until it is explained, because a missing prefix is far easier to catch now than after the source is gone.

The second layer is sampled reads through the destination endpoint. Pick objects across the size range, including the largest files and a set of very small ones, and download them from the new endpoint. Check that content matches and that user metadata, content type and tags survived the copy. Then test the access path your applications and backup tools will actually use, with the new application keys and the new endpoint, so you know the credentials work before the old keys are revoked. Confirm this with the people who own each application, since only they know which prefixes and headers matter.

The third layer applies to any locked data. Confirm version counts against the source, since versioning must be enabled on the destination before retention can be recreated there. Then check the retention mode and retain-until date on a sample of locked objects, and confirm that legal holds carried over. Ceph RGW supports Object Lock with governance and compliance modes, but this must be verified in your own cluster, and Garage does not support Object Lock at all, so locked data cannot move to it without a different protection design.

Keep a dated, signed record of each comparison, with the tool version, the command or configuration used, the bucket and prefix scope, the totals, the sample list and the reviewer's name. Store it with the change record so internal audit can trace it and external auditors can review it. DeployOpen prepares this evidence but does not issue audit reports, and independent auditors decide what they accept.

CIS Controls v8.1 Safeguard 11.4 asks for an isolated instance of recovery data, and gives offline, cloud or off-site version-controlled backup destinations as examples. Once B2 is closed, the destination is the only copy of your backups, so it must be isolated from production credentials and retain prior versions. That is why the verification above must cover versions and retention, not just the current object set.

What to plan before the Backblaze B2 contract ends

Leaving B2 is mostly a sequencing problem: locked data has to wait for its retention to expire, copying has to fit inside the transfer terms, and applications need a cutover window before the account closes. The cards below cover each step in the order a migration team usually meets them, plus the contract details to confirm with Backblaze before committing to a date.

Map the retention expiry calendar

Start by listing every bucket that uses Object Lock and the retention period on each object version. Compliance mode retention cannot be shortened or removed by any user, including the account owner, so the expiry date of the last locked object sets the earliest point at which that data can leave B2. Export the retention metadata for each bucket and sort it by expiry date. Objects with long retention periods may push the closure date well past the application cutover, so the calendar should be agreed before any copy job is scheduled.

Confirm the date before which data is locked

Once the retention calendar exists, convert it into one deadline: the date after which no locked object remains in B2. Until that date, locked objects can be read and copied but not deleted, so the account cannot be fully emptied. Record this date in the migration plan and treat it as a gate for the account closure decision. Legal hold flags on an object work separately from retention and must be cleared by the people who placed them.

Check transfer and egress terms before bulk copy

Before the final bulk copy, check the current Backblaze terms for the free download allowance, the overage price and how transfers are measured. Estimate the volume that will leave B2 during the copy, including any repeat passes for incremental changes, and compare it with the allowance and the overage rate. Also account for the destination side: any target storage in your own data centers has its own power, hardware and bandwidth costs. Ask Backblaze to confirm these figures in writing, since they can change.

Plan the parallel run and cutover window

Applications, backup jobs and scripts that point at the B2 endpoint each need a new endpoint, credentials and a test. Run both stores in parallel for a defined period, write new objects to the new store, and keep reads working against B2 until the copy is verified. Record the owner, change ticket and rollback step for each system. Backup tools often keep their own index or catalog, so confirm that restores work from the new location before B2 is removed from the backup schedule.

Rotate and revoke keys after cutover

B2 application keys and master keys should be inventoried before cutover, with the system that uses each one. After the cutover is verified and no traffic remains on B2, revoke the old keys rather than leaving them active. Issue new credentials on the destination store scoped to the same buckets and permissions, and store them in your existing secrets manager. Keep a record of when each key was revoked, since that record is part of the exit evidence.

Meet record and legal hold obligations first

Before any deletion, confirm which records must be kept, for how long, and under which regulation or contract. Copying data to a new store does not by itself satisfy a retention rule, so the destination must keep the same retention, access logging and integrity evidence the rule requires. Keep a deletion log that shows what was removed, when, by whom and on what authority. Involve legal, compliance and records owners before the account is closed.

Confirm notice periods and deletion evidence

Check your own Backblaze contract for the notice period required to end the service, the billing cutoff date, and any minimum commitment that applies after closure. Ask how account deletion is confirmed and whether a written record is issued for the data removed. Confirm the same points with your compliance team, since they may need that evidence for an audit. Treat any date from this card as the controlling deadline for the rest of the plan.

Questions about leaving Backblaze B2 that buyers ask first

What drives the cost of leaving Backblaze B2?

The cost has four parts: the destination, staff time, transfer charges and verification. The destination is either hardware you buy and run, which means a one-time purchase plus recurring power, space and support, or another cloud bucket, which means recurring storage fees. Staff time covers planning, running the copy, checking results and switching applications, and it is usually the largest item for a small team. Transfer charges depend on Backblaze's current egress and download terms, including the free allowance and the overage rate, so confirm both on Backblaze's pricing page before you start. The rclone copy tool is free and open source under the MIT license. Ask any quote to itemize hardware or cloud fees, labor, transfer costs, a parallel run period and the work to recreate Object Lock retention at the destination.

How long does moving data out of B2 take?

The duration depends on data volume, object count, available network throughput and when any locked objects expire. Large datasets made of many small objects take longer than the same volume stored in fewer large objects, because per-object overhead dominates. Locked objects must stay in B2 until their retention ends, so the duration can be set by the latest expiry date rather than by the copy itself. Before committing to a window, run rclone with the dry-run option on a representative bucket to estimate object counts and transfer size, then time a small test copy over your real network path. Agree the cutover date in writing with the application owners, and keep the old bucket readable until the new copy is verified and the parallel run ends.

What does the migration need from our own team?

The team needs four things. First, administrator access to the Backblaze account and to the destination environment, including the ability to create buckets and application keys. Second, change windows approved by operations, because applications and backup jobs must point to the new endpoint at a controlled time. Third, named application owners who can confirm which buckets and prefixes each system uses, and who can test reads and writes after the switch. Fourth, a decision on the destination, whether Ceph RGW, SeaweedFS or Garage, along with who owns it after handover. Without that decision, the copy cannot start, and the destination design determines which Object Lock and versioning requirements can be met.

Can our team move the data without a partner?

Yes, a capable team can copy the data alone with rclone, provided it verifies the copy carefully. The tool supports Backblaze B2 directly and can also write to S3-compatible destinations, and the work itself is mostly planning and checking. A partner is most useful where the risk is high: designing and building the destination cluster, recreating retention settings, hardening access, testing the cutover and documenting the evidence that auditors ask for. DeployOpen plans, implements, integrates, hardens and documents self-hosted storage inside your own infrastructure, and most engagements are fixed-scope with deliverables and timelines agreed in writing before work starts. A quote follows from that written scope, so the decision to bring in help can be made against a defined list of tasks.

Can objects with Object Lock be moved before they expire?

No. An object under compliance retention cannot be deleted or overwritten until its retention period ends, so it cannot be removed from B2 early to make room for a move. You can read and copy a locked object to a new location, and that copy is not subject to the original lock. The original stays in B2 until its retention expires, so the account and bucket must remain open for that period. Plan a parallel run in which applications write to the new store while older locked objects remain in B2 and are read from there. Confirm the exact retention modes and expiry rules in Backblaze's current documentation, and record the retention date for every locked object so the closure date is known in advance.

Can Garage hold data that previously needed Object Lock?

No, Garage cannot. Its S3 compatibility reference states that it does not support object versioning, object locking or server-side encryption. If your backups or records relied on B2 Object Lock to stay immutable, Garage will not preserve that protection. Confirm the requirement first, by checking which buckets use retention, which legal or policy obligations apply, and whether ransomware resistance depends on the lock. If immutability is required, evaluate Ceph RGW, which documents versioning, lifecycle and bucket policies, and confirm with Ceph's documentation and your own testing whether it meets your retention modes. Other protections, such as an isolated off-site copy, can support the CIS Controls v8.1 recovery safeguard on isolated backup instances, but they do not replace a retention lock.

How do we verify the copy before closing the Backblaze account?

Verify in three layers before any cutover. First, compare object counts and total bytes per bucket and prefix between source and destination. Second, run rclone check, which compares files and hashes where both backends support them, and record any differences for follow-up. Third, read a sample of objects through the new endpoint from each application to confirm that metadata, content types and paths behave as expected. Keep the Backblaze account open until the parallel run ends, all locked objects have expired or are documented, and the business owners sign off. Closing the account before those steps are complete removes your fallback path, so set the closure date only after verification is finished.

How DeployOpen runs a Backblaze B2 data exit

DeployOpen plans and implements the exit from Backblaze B2 inside your own infrastructure, starting with an inventory of buckets, Object Lock retention and application dependencies. The work is agreed in a written, fixed scope, so your team knows what is copied, verified, documented and handed over before the account is closed.

How we scope

  • Inventory every B2 bucket, its region, object counts, versioning state and Object Lock retention before any copy starts.
  • List the applications, backup tools and scripts that read or write each bucket, so every endpoint switch is planned.
  • Agree in writing which target platform, copy method and verification checks apply, and what the engagement excludes.
  • Confirm who in your organization approves retention decisions and the final account closure.

How we build

  • Set up the target S3-compatible storage in your infrastructure with access control and audit logging in place.
  • Copy buckets with rclone using its Backblaze B2 backend, and record the copy settings for repeatability.
  • Recreate Object Lock retention on the target where the chosen platform supports it, and test that deletions are blocked.
  • Compare object counts and checksums between source and target for each bucket before any application is switched.

How we hand over

  • Deliver a written runbook covering the copy procedure, endpoint changes and rollback steps for each application.
  • Provide verification reports showing object counts, checksum results and any objects that could not be copied.
  • Document retention settings, access policies and key ownership so your compliance team can review the new setup.
  • Walk through the handover with your operations and security owners before the Backblaze B2 account is closed.

How we support

  • Retest the restored data and endpoint switches after cutover, and fix any gaps found in the written scope.
  • Ask about ongoing support, upgrades and continuous testing, which are available as retainers after the engagement.
  • Support the evidence your internal or external auditors request for backup and retention controls, without issuing any audit opinion.
  • Confirm with DeployOpen during scoping which post-handover services, if any, your team wants under a retainer.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.