<?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 Trying to Backup Dashboards and Queries from our Workspace. in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/trying-to-backup-dashboards-and-queries-from-our-workspace/m-p/138597#M4455</link>
    <description>&lt;P&gt;We are using a databricks workspace and our IT team is decommissioning it as our time with it is being done. I have many queries and dashboards developed. I want to copy these, unfortunately when i download using zip or .dbc these queries or dashboards are not being downloaded.&lt;/P&gt;&lt;P&gt;Is there a way I could do this so that once we have budget again, we could get a new workspace provisioned and I could just use these assets created. This is a bit of a priority for us as the deadline is Wednesday 11/12, sorry this is last minute but we never realized that this issue would pop up.&lt;/P&gt;&lt;P&gt;Your help on this would be really appreciated, I want to back my user and another user,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="mailto:user1@example.com" target="_blank" rel="noopener nofollow noreferrer ugc"&gt;user1@example.com&lt;/A&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="mailto:user2@example.com" target="_blank" rel="noopener nofollow noreferrer ugc"&gt;user2@example.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Nov 2025 13:57:24 GMT</pubDate>
    <dc:creator>pranav5</dc:creator>
    <dc:date>2025-11-11T13:57:24Z</dc:date>
    <item>
      <title>Trying to Backup Dashboards and Queries from our Workspace.</title>
      <link>https://community.databricks.com/t5/administration-architecture/trying-to-backup-dashboards-and-queries-from-our-workspace/m-p/138597#M4455</link>
      <description>&lt;P&gt;We are using a databricks workspace and our IT team is decommissioning it as our time with it is being done. I have many queries and dashboards developed. I want to copy these, unfortunately when i download using zip or .dbc these queries or dashboards are not being downloaded.&lt;/P&gt;&lt;P&gt;Is there a way I could do this so that once we have budget again, we could get a new workspace provisioned and I could just use these assets created. This is a bit of a priority for us as the deadline is Wednesday 11/12, sorry this is last minute but we never realized that this issue would pop up.&lt;/P&gt;&lt;P&gt;Your help on this would be really appreciated, I want to back my user and another user,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="mailto:user1@example.com" target="_blank" rel="noopener nofollow noreferrer ugc"&gt;user1@example.com&lt;/A&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="mailto:user2@example.com" target="_blank" rel="noopener nofollow noreferrer ugc"&gt;user2@example.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 13:57:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/trying-to-backup-dashboards-and-queries-from-our-workspace/m-p/138597#M4455</guid>
      <dc:creator>pranav5</dc:creator>
      <dc:date>2025-11-11T13:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Backup Dashboards and Queries from our Workspace.</title>
      <link>https://community.databricks.com/t5/administration-architecture/trying-to-backup-dashboards-and-queries-from-our-workspace/m-p/138613#M4456</link>
      <description>&lt;H2&gt;&lt;STRONG&gt;Notebooks&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;These are the easiest assets to back up.&lt;BR /&gt;You can export them individually or in bulk as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;.dbc&lt;/STRONG&gt; – Databricks archive format (can re-import directly into a new workspace)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;.source&lt;/STRONG&gt; or &lt;STRONG&gt;.py&lt;/STRONG&gt; – raw code export (ideal for version control)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To download in bulk:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Navigate to your &lt;STRONG&gt;Workspace&lt;/STRONG&gt; folder in Databricks.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Right-click → &lt;EM&gt;Export&lt;/EM&gt; → choose format.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Store in your shared drive or Git repository.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;STRONG&gt;Queries and Dashboards (Databricks SQL Editor / SQL Warehouses)&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;These are &lt;STRONG&gt;not included&lt;/STRONG&gt; in .dbc or workspace ZIP exports.&lt;BR /&gt;They are stored separately in &lt;STRONG&gt;Databricks SQL&lt;/STRONG&gt; (in the metastore).&lt;/P&gt;&lt;P&gt;You must export them &lt;STRONG&gt;manually&lt;/STRONG&gt; or via the &lt;STRONG&gt;SQL REST API&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Open each &lt;STRONG&gt;Query&lt;/STRONG&gt; → Copy SQL → Save as .sql file.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For &lt;STRONG&gt;Dashboards&lt;/STRONG&gt;, capture also screenshots and export definitions using /api/2.0/preview/sql/dashboards.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Store both in a structured folder (e.g., /sql_exports/queries and /sql_exports/dashboards).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;SPAN&gt;I am assuming all dashboards and queries were created &lt;/SPAN&gt;&lt;STRONG&gt;manually in the workspace UI&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;not deployed via Databricks Asset Bundles (DAB)&lt;/STRONG&gt;&lt;SPAN&gt; or automation.&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;That means they exist only within the workspace metadata, if not backed up before decommissioning, they cannot be recovered later.&lt;/P&gt;&lt;H2&gt;&lt;STRONG&gt;Recommendation for the New Environment&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;Once the new workspace is provisioned:&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Adopt Databricks Asset Bundles (DAB)&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Use &lt;STRONG&gt;DAB&lt;/STRONG&gt; to &lt;STRONG&gt;automate deployments&lt;/STRONG&gt; of notebooks, jobs, dashboards, and SQL assets from code.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;It provides versioning, repeatable deployments, and environment isolation (Dev → Test → Prod).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;All configuration lives as &lt;STRONG&gt;code in YAML&lt;/STRONG&gt; — meaning if you lose a workspace, you can rehydrate it in minutes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Reference: &lt;A class="" href="https://docs.databricks.com/en/dev-tools/bundles/index.html" target="_self"&gt;Databricks Asset Bundles Documentation&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Move Code to GitHub (or Azure DevOps)&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Every notebook, pipeline, or SQL query should live in &lt;STRONG&gt;source control&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Avoid storing logic exclusively inside the Databricks workspace.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use &lt;STRONG&gt;Git integration&lt;/STRONG&gt; to sync notebooks automatically this ensures version tracking, peer review, and rollback capability.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;STRONG&gt;Avoid Manual Notebooks in Production&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Use &lt;STRONG&gt;notebooks only for experimentation or prototyping&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For production, all code should be deployed as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Workflows (Jobs)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;DAB-based pipelines&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Versioned repos&lt;/STRONG&gt; with CI/CD integration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This reduces drift, supports automated testing, and makes your environment reproducible. Hope this will help you!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 15:53:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/trying-to-backup-dashboards-and-queries-from-our-workspace/m-p/138613#M4456</guid>
      <dc:creator>bianca_unifeye</dc:creator>
      <dc:date>2025-11-11T15:53:07Z</dc:date>
    </item>
  </channel>
</rss>

