How to export your data from Databricks

Delta tables already sit as open Parquet files plus a transaction log in your own cloud storage, which makes the data exit far easier than the platform exit. This guide covers what the documented export paths cover, what does not move, and how to verify a complete export.

On this page

Exporting data from Databricks: what you can take and what stays behind

If your renewal, pricing change or residency requirement is forcing a decision, the good news is that your table data is usually already in an open format in your own storage. Delta tables are Parquet data files plus a transaction log in cloud object storage, and the data itself does not need to be converted to leave. Other engines such as Spark and Trino can read those files directly, as the Databricks Delta Lake documentation explains. The harder work is everything around the tables: notebooks, jobs, permissions and catalog metadata each need a separate export plan.

Split your estate into three buckets before you plan anything. The first is data: Delta tables in a bucket you control, which move by copying or simply pointing another engine at the same location. The second is code: notebooks can be exported individually as source, HTML, DBC, .ipynb or .Rmd files, and folders as ZIP or DBC archives. Check the export format notes in Databricks' documentation, because a Zip - Source export excludes command outputs, so any results you need must be captured separately. The third is governance: access rules, Unity Catalog grants, lineage and job definitions do not travel with the Parquet files and must be recreated in your new catalog and orchestrator.

Confirm where your tables physically live before you commit to a path. Serverless workspaces use a fully managed default storage location for system data and Unity Catalog assets, while classic workspaces use an S3 bucket in your own account. If your serverless workspace holds managed tables in default storage, ask Databricks in writing how you obtain those files and whether the copy is complete. Also review the Databricks data sharing documentation, since its open sharing protocol lets recipients who do not use Databricks read shared data with Spark or pandas. Treat that as a documented outbound path and test it with a real consumer before the cutover date.

Which Databricks data types export, by method, format and limit

This table compares each kind of Databricks data (Delta tables, notebooks, folders and shared data) by export method, output format and known limits. Read each row against the storage model of your own workspace, since classic and serverless workspaces store system data and Unity Catalog assets differently. The main takeaway is that Delta table files are already in open formats in your bucket, so the hardest exports are usually the notebooks and the shared-data relationships.

Data typeExport method and formatLimits and notes
Delta tables in object storageFiles already stored as Parquet data files plus a transaction log, readable by Spark and Trino without conversionClassic workspaces keep these in an S3 bucket in your account. Serverless workspaces use default storage for system data and Unity Catalog assets, so confirm where each table's files live before you plan the copy.
Notebooks as sourceIndividual export as source, readable as plain code in your own repositoryZip - Source folder exports exclude command outputs, so keep results separately if you need them.
Notebooks as HTML, DBC or .ipynbHTML, DBC (Databricks archive) and .ipynb (Jupyter) formats for individual notebooks; .Rmd for R notebooksHTML archives are not supported in AWS GovCloud workspaces. Confirm which formats your workspace and region offer.
Folders as ZIP or DBCWhole folders exported as ZIP or DBC archivesConfirm archive size limits and whether outputs are included for your workspace before a bulk export.
Data shared through the open sharing protocolRecipients who do not use Databricks can read shared tables with Apache Spark, pandas or Power BIThe recipient needs a supported client and access to the share. Confirm which shared assets your provider configured and who holds access.

Where your tables live: classic versus serverless default storage

A classic workspace writes its data to an S3 bucket in your own cloud account. Databricks documents this as the storage location for the workspace, so the bucket, its region, its encryption settings and its access policies are yours to inspect. Delta tables in this bucket are Parquet data files plus a transaction log, which means the files are readable by Spark and Trino without a Databricks runtime. For many teams this is the most direct exit path, because the copy is mostly a question of permissions and network routes rather than format conversion.

  • Bucket ownership: The S3 bucket belongs to your AWS account, so you can list it, set lifecycle rules and review access logs yourself.
  • Table layout: Managed tables sit under the bucket with a transaction log next to the Parquet files, so you can point another engine at the same paths.
  • Access path: Your own IAM roles or bucket policies control reads, which lets you grant a self-hosted Spark or Trino cluster access without going through Databricks.
  • Backups and retention: Versioning, replication and retention on the bucket are configured by your team, so confirm what is already in place before any copy starts.
  • Unity Catalog metadata: Table definitions and permissions still live in the Databricks control plane, so you must export the schema separately.

Before planning, check whether your workspace is classic by reviewing its configuration and confirming the bucket name with your Databricks administrator.

What does not export cleanly and the workaround for each

Delta table data is the part of a Databricks exit that moves most easily, because it is already stored as open Parquet files with a transaction log. The items below sit around those files: permissions, orchestration, compute settings, credentials and platform-managed storage. Each one needs a deliberate rebuild or re-entry in the target stack, and each should be inventoried before cutover.

Unity Catalog grants and lineage

The grants, row filters, column masks and lineage history live in the Unity Catalog metadata layer, not in the Delta files. Export the current grants as SQL or infrastructure code, then recreate them in your target catalog and query engine, such as Unity Catalog OSS with Trino access rules. Confirm which principals map to which groups in your identity provider, and decide whether lineage history is needed after cutover or only current state. Lineage will need to be rebuilt by a discovery tool if you keep it.

Delta Lake docs

Jobs and workflow definitions

Databricks Jobs hold task graphs, schedules, cluster specifications, retry settings, notification targets and parameters. Pull each job definition through the Databricks API or CLI, store it in Git as code, and rebuild it in your chosen orchestrator. Confirm that the export captures every field your jobs use, including task dependencies and run-as identities. Historical run logs are usually kept separately, so decide whether they must be archived before the workspace is retired.

Cluster and SQL warehouse settings

Cluster policies, Spark configuration, installed libraries, init scripts, instance types and SQL warehouse sizes are settings that do not carry over to a self-hosted Spark or Trino cluster. Record each setting in version-controlled files, then map it to the equivalent Spark configuration on Kubernetes or YARN, or to a Trino worker setup. Confirm where init scripts and libraries are stored, and identify any Databricks-specific acceleration or serverless behavior that has no direct open-source equivalent.

Secrets and personal access tokens

Secret scopes, service principal credentials, storage keys and personal access tokens belong to the workspace and to individual users. Plan to re-enter secret values in a self-hosted secrets manager and issue new credentials for every pipeline and service account. Personal access tokens should be revoked after cutover. Before you start, confirm with Databricks documentation whether any secret value can be retrieved, and list every code path that references a secret scope name so nothing breaks silently.

Serverless default storage and system data

Serverless workspaces keep workspace system data and Unity Catalog assets in a fully managed default storage location, while classic workspaces use an S3 bucket in your own cloud account. Confirm which of your tables and logs sit in each location before you plan the copy. Table files in your own bucket can move directly, but platform-managed data may need to be queried and exported through supported paths. Export system tables you need for audit or billing before the workspace is decommissioned.

Architecture overview

The export sequence and how to verify each stage

This sequence turns a Databricks exit into a checked inventory of tables, storage, notebooks and sharing relationships, with evidence at each stage that the data an engine reads after cutover matches what Databricks held. Each step ends with an artifact your team can review before the next one starts.

  1. Inventory tables, storage and workspace type

    Start by listing every catalog, schema and table, the table format of each one, and where its files sit. Record whether each workspace is classic or serverless, because the storage model differs: serverless workspaces use default storage managed by Databricks for system data and Unity Catalog assets, while classic workspaces use an S3 bucket in your own account. Your cloud provider console and the Databricks catalog views give you the inputs. The output is a versioned inventory file that names each table, its location and its owner, stored in the migration repository and reviewed by the data owners before anything is copied.

  2. Confirm Delta files and logs are readable outside Databricks

    Delta tables are Parquet data files plus a transaction log in cloud object storage, so confirm that the files are present and complete by listing the table paths directly in your bucket or container, outside the Databricks workspace. Then open one table from Spark or Trino to check that the engine reads the log and returns rows. Databricks documents that other Delta-compatible engines such as Spark and Trino can read these tables. Keep the listing output and the engine query results as evidence, and note any table that fails to read so it is resolved before you rely on it.

  3. Decide whether to copy or leave data in place

    For each table, choose between leaving the Delta files where they are and copying them to a bucket your self-hosted engines control. Leaving data in place avoids a copy but ties your storage to the bucket already holding it, and the bucket owner must still control access and retention. Copying suits teams moving to a new account or region. Whichever path you choose, record the decision per table with the source and target paths. Data protection of the storage then becomes your responsibility, so the decision record should name the team that owns that bucket.

  4. Export notebooks in the chosen formats

    Export notebooks individually as source, HTML, DBC, .ipynb or .Rmd files, or export whole folders as ZIP or DBC archives. Choose source or .ipynb for code you intend to run elsewhere. Note that Zip - Source exports exclude command outputs, so keep any outputs you need as a separate record, and that HTML archives are not supported in AWS GovCloud workspaces. Check the export by counting files against the workspace folder listing and opening a sample notebook in your target editor. Store the archive and the count comparison in the migration repository.

  5. Document sharing recipients and the sharing protocol

    List every Delta Sharing share your workspace provides and every recipient, including those outside Databricks. Databricks' open sharing protocol lets recipients who do not use Databricks read shared data with tools such as Apache Spark, pandas and Power BI, so each recipient needs a documented replacement path or a decision to retire the share. Record the share name, the tables it includes, the recipient contact and the access method. Keep this register with the access reviews, and confirm with each recipient what they will connect to after cutover.

  6. Verify row counts and schemas against the source

    For each table, compare row counts and column names, types and nullability between the Databricks table and the copy read by Spark or Trino. Run the same aggregate queries on both sides, such as counts per partition and sums on key numeric columns, and record the results side by side. Any mismatch blocks cutover for that table until the cause is found. Store the query text, both result sets and the pass or fail decision in the verification log so an auditor or data owner can rerun the check.

  7. Compare time travel versions to confirm history

    Delta Lake supports time travel to earlier table versions, so pick a sample of tables and compare a recent historical version on Databricks with the same version read by Spark or Trino from the copied files. Matching results show that the transaction log came across intact, not only the latest snapshot. Keep the version numbers, the query used and the comparison output in the evidence folder. If a table has no retained history that matters to you, record that decision explicitly so the gap is visible to the owner.

  8. File the evidence pack for sign-off

    Bring the inventory, path decisions, notebook exports, sharing register, count and schema comparisons and version checks into a single evidence pack with an owner for each table. The pack is complete when every table has a pass result or a documented exception, every recipient has a decision, and the data owners have signed off in writing. Store the pack in a restricted repository, since it lists storage paths and recipients, and keep it with the cutover runbook so later reviews can trace each table back to its check.

Why Delta's open format shortens the data exit

Delta tables are already stored in open formats, so the data exit is mostly a question of where the files sit and who can read them. Delta Lake is an Apache-2.0 project under the Linux Foundation, and it is not controlled by any single company. Each Delta table is a set of Parquet data files plus a transaction log in cloud object storage. Spark and Trino both read that layout, so the data itself does not have to be rewritten to leave Databricks. Check which bucket holds the table files, confirm your team has direct read access to that bucket outside the Databricks account, and copy a sample table to confirm a Spark or Trino read returns the expected row counts.

Two checks decide how far the open path goes. First, confirm the Delta table protocol version and the table features in use. Newer features may need a reader that supports them, so test each engine you plan to run against the exact table versions in your environment rather than assuming any Delta reader will open every table. Second, list any Databricks-only features on the tables, such as Unity Catalog permissions, row filters, column masks, liquid clustering settings or Databricks-specific properties. The files will still be readable, but the governance and layout metadata those features store will not transfer on their own and must be rebuilt in your new catalog.

UniForm, the Delta Universal Format, adds a second way out. According to Delta.io, it lets Iceberg and Hudi clients read Delta tables, so a team with Iceberg-based tools can keep those tools without a full conversion. Treat this as a compatibility path to test, not a guarantee. Ask your Databricks account team and your catalog vendor to confirm which UniForm settings apply to your tables and which Iceberg or Hudi readers you need, then run those readers against a copy before you depend on them. The Delta Lake website lists the engines that support Delta Lake and is the natural place to check current compatibility.

Sharing data out through the open sharing protocol

Shares are often the least visible dependency on a Databricks estate, because recipients outside your workspace may read tables without anyone on your team knowing. Databricks' open sharing protocol lets those recipients keep reading while you move. The cards below cover who depends on shares, how to inventory them, and how to retire them before the contract ends.

Who depends on shares

Identify every external recipient that reads your tables, including partners, regulators, customers and internal teams on tools outside Databricks. The open sharing protocol lets recipients use Apache Spark, pandas or Power BI, so a consumer may never log in to Databricks at all. Ask data owners directly, because a share can keep working for months after the business relationship it served has changed.

Data sharing docs

Inventory shares and recipients

Export the list of shares, the tables inside each share, and the recipients attached to them from your Databricks account before any migration work begins. Record the owner, the refresh pattern and the tool each recipient uses. Without this inventory, a cutover can break a dashboard or a partner feed that nobody on the platform team knew existed.

Keep recipients reading during cutover

Because Delta tables already sit as Parquet files plus a transaction log in your own object storage, you can often serve the same data from an open-source engine while shares continue. Trino's Delta Lake connector and Spark can read the same files that Databricks writes. Test each recipient's read path against the new source before switching the share off, and confirm that permissions on the object store match what the share granted.

Confirm recipient credentials

Shares issue credentials and tokens that recipients hold on their own systems. Confirm how each recipient authenticates, who can rotate those credentials, and whether an open-source replacement needs its own access method. Revoking a recipient's credential too early stops their reports, so sequence revocation after the consumer confirms a working read path.

Retire shares before the contract ends

Set a date for each share retirement and notify recipients in writing with the replacement location and the cutover window. Remove the share only after reads through the new path are confirmed, and keep a record of the removal for audit purposes. Ask your Databricks account team to confirm how share data and recipient logs are retained after removal, since that determines what evidence you can keep.

Questions buyers ask about exporting from Databricks

How long does it take to export data from Databricks?

The duration depends on what you are moving, not on the export format itself. The main drivers are the total volume of data in object storage, the number of tables and their dependencies, how many jobs, notebooks and sharing recipients need to be repointed, and how much validation your team wants before cutover. Delta tables are already Parquet files plus a transaction log in your cloud storage, so copying the files is rarely the slow part. Ask any provider for a written scope that lists table count, total size, sharing recipients and the validation steps, then build the timeline from that list.

Can we export our Databricks data ourselves?

Often yes, for simple cases. If your tables are Delta tables stored in your own bucket, the data is already in open Parquet files with a transaction log that engines such as Spark and Trino can read. The harder parts are governance and operations: rebuilding permissions that lived in Unity Catalog, recreating scheduled jobs, reconnecting BI tools, and confirming that every table reads correctly after the move. A small team with a clear inventory and few dependencies can usually manage the data copy alone, while teams with many owners and sharing agreements tend to need outside help for the control plane work.

What do we need to provide before an export starts?

Three things make the work predictable. First, cloud access to the storage account or bucket that holds the data, plus read rights on the workspace where notebooks and jobs live. Second, a catalog inventory listing schemas, tables, views, volumes, jobs and sharing shares. Third, a named owner for each table or dataset who can confirm what it is for, who should keep access and whether it can be retired. Note whether your workspace is serverless or classic, because that changes where workspace system data and Unity Catalog assets are stored. Ask the provider to confirm which of these items they need in writing before work begins.

Do exported notebooks keep their outputs?

It depends on the export format you choose. Databricks lets you export notebooks individually as source, HTML, DBC, .ipynb or .Rmd files, and folders as ZIP or DBC archives. Source exports from the Zip - Source option exclude command outputs, so results, charts and printed values are not kept. HTML and DBC archives retain the output as part of the file, and HTML archives are not supported in AWS GovCloud workspaces. If you need outputs as evidence or for reference, export those notebooks in a format that keeps them and store the files alongside the migrated code.

What happens to data we share with outside recipients?

Shared data does not move automatically with the tables. Databricks' open sharing protocol lets providers share data with recipients who do not use Databricks, using tools such as Apache Spark, pandas and Power BI. When you leave, each share needs a replacement path: either keep the recipient's access through a self-hosted sharing service, or provide the same files in an open format that the recipient can read directly. Build a list of every recipient, what they receive, how they authenticate and who approves a change. Confirm the recipient's tooling before you cut over, because a broken share is usually discovered by the recipient first.

What does a fixed-scope export engagement cover?

DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For an export, a fixed-scope engagement would normally cover the agreed inventory, the data copy and validation plan, replacement of catalog and access control, notebook export, sharing replacement and cutover support, each set out in writing before work starts. Scope, deliverables and timelines are agreed in writing, and a quote follows from that written scope. Ongoing support, upgrades and continuous testing are available as retainers. Ask for the deliverable list and acceptance criteria in writing.

What does it cost to export data from Databricks?

The export itself mostly costs cloud storage and network transfer, which your cloud provider bills to your account, while Databricks bills compute in Databricks Units, normalized per second. Your Databricks charges continue for as long as clusters, SQL warehouses and jobs run during the parallel period, so the overlap window is a cost driver. One-time costs include inventory, validation and the engineering work to rebuild governance and jobs. Recurring costs include the infrastructure and staff who run the platform afterward. Ask any provider for a quote that separates cloud charges, Databricks charges during overlap, and professional services, and that states which items are one-time and which recur.

Confirming the export paths in your own environment

Vendor documentation and your own workspace settings decide what you can export, so confirm both before you plan a cutover. The first thing to establish is the storage model of each workspace. Databricks documents that serverless workspaces use default storage, a fully managed location for workspace system data and Unity Catalog assets, while classic workspaces use an S3 bucket in your own cloud account. That difference determines where your Delta tables physically sit, who holds the keys, and whether you can read the underlying files directly without going through Databricks. Ask your Databricks account team and your cloud team to confirm, per workspace, which storage type applies and which buckets or containers hold table data. Also confirm whether any workspace is in AWS GovCloud, because some export options, such as HTML notebook archives, are not supported there.

Next, verify the notebook and sharing paths against the current Databricks export and import documentation. Notebooks can be exported individually as source, HTML, DBC, .ipynb or .Rmd files, and folders as ZIP or DBC archives, but Zip - Source exports exclude command outputs, so decide early whether you need results preserved and export them separately. For data shared with outside parties, review your Delta Sharing configuration, since the open sharing protocol lets recipients who do not use Databricks read shared data. Document each share, its recipients and its access settings, and confirm with your security team who may create or change shares. Treat this inventory as the input to the export plan, because a missing share or an unexported notebook folder is usually found only after the Databricks contract has ended.

How the export paths fit together

The diagram starts in the Databricks workspace, where the storage location depends on whether the workspace is classic or serverless. Classic workspaces keep Delta tables in an S3 bucket in your account, while serverless workspaces use default storage that Databricks manages. Either way, the Delta Parquet files and transaction log can be copied to your own object storage, where Spark and Trino read them directly. Notebook exports and open sharing are separate paths, so check each one before cutover.

Export paths from a Databricks workspace to self-hosted engines and outside recipients.

How DeployOpen scopes and delivers a Databricks data exit

DeployOpen treats a Databricks data exit as a written, fixed-scope engagement inside your own cloud account or data center. We first confirm where your Delta tables, Unity Catalog assets and notebooks actually live, then build and test the open-format copy and access path before anything is switched off.

How we scope

  • Inventory which Delta tables sit in your own object storage and which depend on Databricks-managed default storage.
  • Confirm whether each workspace is serverless or classic, since that decides where workspace system data lives.
  • Agree in writing which notebooks, jobs, sharing recipients and BI connections are in scope, with deliverables and timelines.

How we build

  • Set up Parquet and Delta transaction log access from Spark and a Trino Delta Lake connector against the same bucket.
  • Export notebooks in the agreed formats and test that Databricks-only APIs are identified and listed for rewrite.
  • Validate row counts, schemas and time travel results against the source tables before any cutover step.

How we hand over

  • Deliver a runbook covering storage paths, catalog configuration, access permissions and the export procedure.
  • Document the open sharing protocol endpoints and the recipients who will move to Spark, pandas or Power BI.
  • Provide the test evidence and a list of open decisions your team owns after the engagement closes.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Re-run export and query validation when Delta Lake or Spark versions change in your environment.
  • Ask for the retainer terms, response expectations and included retests in the written quote before work starts.

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.