cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to migrate data from an existing workspace to a new workspace?

tz1
New Contributor III
 
1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

If you are referring to workspace as workspace folder there is API for that https://docs.databricks.com/dev-tools/api/latest/workspace.html#export

If you are referring to whole Databricks installation (like Azure workspace). Is more complicated as you need to export infra template, hive metastore etc. (if you have purchased support on Azure/Aws, they can help)

View solution in original post

6 REPLIES 6

Hubert-Dudek
Esteemed Contributor III

If you are referring to workspace as workspace folder there is API for that https://docs.databricks.com/dev-tools/api/latest/workspace.html#export

If you are referring to whole Databricks installation (like Azure workspace). Is more complicated as you need to export infra template, hive metastore etc. (if you have purchased support on Azure/Aws, they can help)

tz1
New Contributor III
Thanks, Hubert.
I am referring to the Delta Tables and the corresponding Hive Tables in Databricks.
Probably closer to the whole Databricks installation you mentioned.

Anonymous
Not applicable

@Tony Zhouโ€‹ - I am the least technical person on the planet. Did Hubert's answer help resolve the problem, or would you like more help?

tz1
New Contributor III

And I got this problem when using the Workspace API 2.0

<html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<title>Error 401 Unauthorized</title>

</head>

<body><h2>HTTP ERROR 401</h2>

<p>Problem accessing /api/2.0/workspace/export. Reason:

<pre>   Unauthorized</pre></p>

</body>

</html>

Hubert-Dudek
Esteemed Contributor III

Probably access token expired. Please run configure again.

User16753725182
Contributor III
Contributor III

Hi @Tony Zhouโ€‹ , Were you able to run this after generating a new token?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.