cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Moving files from ADLS to Unity Catalog External Volume

NC
New Contributor III

Hi All,

I am trying to migrate files from ADLS to newly created UC External Volume. 

I tried using dbutils.fs.cp but failed.

May I know what is the right way to copy files without any transformation from ADLS to UC external volume.

Thank you

4 REPLIES 4

Witold
Honored Contributor

You don't need to move / copy data at all. Just link the new volume to the existing storage location.

NC
New Contributor III

The problem here is, the old ADLS storage will be dismantled after we move to Unity Catalog.

Witold
Honored Contributor

Solve this in Azure, by using e.g. az copy / Storage Explorer to move the data to new location. The volume should use this new location.

navallyemul
New Contributor III

Instead of copying your files from ADLS to UC volumes, you can create a storage credential and an external location. This allows you to access all your ADLS data directly through the catalog explorer under external locations. For guidance on creating a storage credential and external location, check out this YouTube video: https://youtu.be/KBB14qcELD4?si=uHcX2UQJXk-o2aJR

In this video, you'll learn how to create storage credentials and set up an external location using Databricks Unity Catalog. โ˜• Buy me a coffee: https://buymeacoffee.com/navalyemul Follow me on LinkedIn: https://www.linkedin.com/in/naval-yemul-a5803523/ Azure link: ...

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group