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:ย 

Migrating legacy dashboards from source workspace to target workspace

unity_Catalog
New Contributor III

I am trying to migrate legacy dashboards from source workspace to target workspace using python code. Is there any API's to GET legacy dashboards and POST API for migrating. When I am trying to migrate legacy dashboards and the underlying queries, I am not able to migrate the queries

Is cloning the legacy dashboards and then migrating them to target workspace using code is a good practice. Are there any API's cloning dashboards.

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @unity_Catalog,  To tackle this, you can use the Databricks REST API for exporting and importing dashboards. First, use the GET request on /api/2.0/preview/sql/dashboards to list and export the dashboards from the source workspace. Then, use the POST request to import these dashboards into the target workspace.

I hope this helps! If you have any more questions or run into issues, feel free to ask.

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