03-01-2022 07:22 AM
03-01-2022 11:30 AM
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)
03-01-2022 11:30 AM
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)
03-02-2022 08:58 AM
03-06-2022 04:42 PM
@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?
03-09-2022 11:26 AM
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>
03-10-2022 05:48 AM
Probably access token expired. Please run configure again.
03-11-2022 12:26 AM
Hi @Tony Zhou , Were you able to run this after generating a new token?