<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to copy files of databricks associated storage account UC tables along with _delta_log folder in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144708#M52373</link>
    <description>&lt;P&gt;I want to migrate managed tables from one cloud Databricks workspace to another as it is with delta history. I am able to do with External tables since i have access to storage account container folder but its not the case for UC managed tables. How do i solve this to copy files from one storage account to another&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jan 2026 08:09:17 GMT</pubDate>
    <dc:creator>ajay_wavicle</dc:creator>
    <dc:date>2026-01-21T08:09:17Z</dc:date>
    <item>
      <title>How to copy files of databricks associated storage account UC tables along with _delta_log folder</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144708#M52373</link>
      <description>&lt;P&gt;I want to migrate managed tables from one cloud Databricks workspace to another as it is with delta history. I am able to do with External tables since i have access to storage account container folder but its not the case for UC managed tables. How do i solve this to copy files from one storage account to another&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 08:09:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144708#M52373</guid>
      <dc:creator>ajay_wavicle</dc:creator>
      <dc:date>2026-01-21T08:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy files of databricks associated storage account UC tables along with _delta_log folde</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144730#M52379</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/210036"&gt;@ajay_wavicle&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I think you can try with DEEP CLONE.&amp;nbsp;&lt;SPAN&gt;A&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;deep clone&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;is a clone that copies the source table data to the clone target in addition to the metadata of the existing table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/delta/clone" target="_blank"&gt;Clone a table on Databricks | Databricks on AWS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 10:29:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144730#M52379</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-01-21T10:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy files of databricks associated storage account UC tables along with _delta_log folde</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144732#M52380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suggest you the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create storage credential&lt;/LI&gt;&lt;LI&gt;Register an external location for new storage location&lt;/LI&gt;&lt;LI&gt;Create the catalog with a managed location&lt;/LI&gt;&lt;LI&gt;Migrate table with full Delta history using DEEP CLONE&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;-- Azure example&lt;BR /&gt;CREATE EXTERNAL LOCATION extloc_target&lt;BR /&gt;&amp;nbsp; URL 'abfss://&amp;lt;container&amp;gt;@&amp;lt;account&amp;gt;.dfs.core.windows.net/&amp;lt;prefix&amp;gt;'&lt;BR /&gt;&amp;nbsp; WITH STORAGE CREDENTIAL cred_mi&lt;BR /&gt;&amp;nbsp; COMMENT 'Target path for managed catalog';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CREATE CATALOG my_catalog&lt;BR /&gt;&amp;nbsp; MANAGED LOCATION 'abfss://&amp;lt;container&amp;gt;@&amp;lt;account&amp;gt;.dfs.core.windows.net/&amp;lt;prefix&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE my_catalog.core.my_table&lt;BR /&gt;DEEP CLONE src_catalog.core.my_table;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 10:56:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144732#M52380</guid>
      <dc:creator>lucami</dc:creator>
      <dc:date>2026-01-21T10:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy files of databricks associated storage account UC tables along with _delta_log folde</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144735#M52381</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/136214"&gt;@lucami&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;I tried deep clone as mentioned above but when i describe history on the new cloned table i get only 1 row in desc history. How do i Make it same as before.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 11:24:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/144735#M52381</guid>
      <dc:creator>ajay_wavicle</dc:creator>
      <dc:date>2026-01-21T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Hi @ajay_wavicle, Migrating UC managed tables between wor...</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/150276#M53329</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/210036"&gt;@ajay_wavicle&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Migrating UC managed tables between workspaces while preserving delta history requires a different approach than external tables, because Unity Catalog controls the underlying storage for managed tables and you do not have direct access to the files. Here are your options, depending on your exact requirements:&lt;/P&gt;
&lt;P&gt;OPTION 1: DEEP CLONE (recommended for most migration scenarios)&lt;/P&gt;
&lt;P&gt;If both workspaces share the same Unity Catalog metastore (i.e., they are in the same cloud region), you can run a DEEP CLONE directly from the source table to a new managed table in the destination catalog/schema:&lt;/P&gt;
&lt;PRE&gt;CREATE TABLE destination_catalog.schema.my_table
DEEP CLONE source_catalog.schema.my_table;&lt;/PRE&gt;
&lt;P&gt;This copies all data files and table metadata (schema, partitioning, invariants, nullability) into a new independent managed table. One important caveat: DEEP CLONE does not preserve the source table's transaction log history. The cloned table starts with a fresh version history. If you need time travel against the original versions, you would need to keep the source table available.&lt;/P&gt;
&lt;P&gt;Documentation: &lt;A href="https://docs.databricks.com/en/delta/clone.html" target="_blank"&gt;https://docs.databricks.com/en/delta/clone.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;OPTION 2: SAME METASTORE, CROSS-WORKSPACE ACCESS&lt;/P&gt;
&lt;P&gt;If both workspaces are attached to the same Unity Catalog metastore, you do not need to copy files at all. Any managed table registered in Unity Catalog is automatically accessible from any workspace connected to that metastore. Simply grant the appropriate permissions to the users/groups in the destination workspace and they can query the table directly.&lt;/P&gt;
&lt;P&gt;OPTION 3: CROSS-REGION OR CROSS-CLOUD MIGRATION (Delta Sharing)&lt;/P&gt;
&lt;P&gt;If the workspaces are in different regions or on different cloud providers, use Databricks-to-Databricks Delta Sharing:&lt;/P&gt;
&lt;P&gt;1. In the source workspace, create a share and add the tables you want to migrate.&lt;BR /&gt;
2. In the destination workspace, create a recipient and catalog from the share.&lt;BR /&gt;
3. Once shared, you can DEEP CLONE from the shared catalog into a local managed table in the destination workspace.&lt;/P&gt;
&lt;P&gt;Note that Delta Sharing itself provides read-only access, so the DEEP CLONE step creates a local independent copy. Also be aware of egress charges for cross-region transfers.&lt;/P&gt;
&lt;P&gt;Documentation: &lt;A href="https://docs.databricks.com/en/data-sharing/index.html" target="_blank"&gt;https://docs.databricks.com/en/data-sharing/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;OPTION 4: EXPORT AND RE-IMPORT VIA EXTERNAL STORAGE&lt;/P&gt;
&lt;P&gt;If you need the raw files (including the _delta_log folder) for a non-Databricks migration or as a backup, you can:&lt;/P&gt;
&lt;P&gt;1. DEEP CLONE the managed table to an external location you control:&lt;/P&gt;
&lt;PRE&gt;CREATE TABLE delta.`abfss://container@account.dfs.core.windows.net/path/my_table`
DEEP CLONE source_catalog.schema.my_table;&lt;/PRE&gt;
&lt;P&gt;2. Then copy those files (data files + _delta_log) from that external location to the destination storage using AzCopy, azcli, or any blob-level copy tool.&lt;/P&gt;
&lt;P&gt;3. In the destination workspace, register the table:&lt;/P&gt;
&lt;PRE&gt;CREATE TABLE destination_catalog.schema.my_table
USING DELTA
LOCATION 'abfss://container@account.dfs.core.windows.net/destination_path/my_table';&lt;/PRE&gt;
&lt;P&gt;This gives you the full file-level copy with the _delta_log folder intact.&lt;/P&gt;
&lt;P&gt;IMPORTANT NOTE ON HISTORY&lt;/P&gt;
&lt;P&gt;None of these methods carry over the full original transaction log history from the source managed table. DEEP CLONE copies data as of the latest version and creates a new independent history. If retaining the complete version history is critical, you would need to maintain the original table or use external table locations where you manage the storage directly.&lt;/P&gt;
&lt;P&gt;WHICH OPTION TO CHOOSE&lt;/P&gt;
&lt;P&gt;- Same metastore, same region: Option 2 (no copy needed) or Option 1 (if you want an independent copy)&lt;BR /&gt;
- Different metastore or region: Option 3 (Delta Sharing + DEEP CLONE)&lt;BR /&gt;
- Need raw file-level access: Option 4 (clone to external location, then copy files)&lt;/P&gt;
&lt;P&gt;Let me know if you have questions about which scenario fits your setup.&lt;/P&gt;
&lt;P&gt;* This reply used an agent system I built to research and draft this response based on the wide set of documentation I have available and previous memory. I personally review the draft for any obvious issues and for monitoring system reliability and update it when I detect any drift, but there is still a small chance that something is inaccurate, especially if you are experimenting with brand new features.&lt;/P&gt;
&lt;P&gt;If this answer resolves your question, could you mark it as "Accept as Solution"? That helps other users quickly find the correct fix.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 00:57:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-copy-files-of-databricks-associated-storage-account-uc/m-p/150276#M53329</guid>
      <dc:creator>SteveOstrowski</dc:creator>
      <dc:date>2026-03-09T00:57:40Z</dc:date>
    </item>
  </channel>
</rss>

