<?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 Recovering Lost Dashboard Data in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111707#M1918</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hello,&lt;/STRONG&gt;&lt;BR /&gt;I attempted to update the SQL warehouse ID for all our dashboards using the &lt;STRONG&gt;Databricks SDK lakeview.update method&lt;/STRONG&gt;. However, I mistakenly passed a &lt;STRONG&gt;dashboard object without the serialized_dashboard value&lt;/STRONG&gt;, which resulted in all our dashboards becoming empty.&lt;/P&gt;&lt;P&gt;Fortunately, they are still &lt;STRONG&gt;published&lt;/STRONG&gt;, and I would like to know if there is any way to &lt;STRONG&gt;retrieve the JSON content&lt;/STRONG&gt; from the &lt;STRONG&gt;published dashboards&lt;/STRONG&gt; and use that data to &lt;STRONG&gt;restore the draft versions&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Is there a method or API call that allows us to extract the &lt;STRONG&gt;published dashboard JSON&lt;/STRONG&gt; and restore our drafts?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 13:35:54 GMT</pubDate>
    <dc:creator>Anton2</dc:creator>
    <dc:date>2025-03-04T13:35:54Z</dc:date>
    <item>
      <title>Recovering Lost Dashboard Data</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111707#M1918</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello,&lt;/STRONG&gt;&lt;BR /&gt;I attempted to update the SQL warehouse ID for all our dashboards using the &lt;STRONG&gt;Databricks SDK lakeview.update method&lt;/STRONG&gt;. However, I mistakenly passed a &lt;STRONG&gt;dashboard object without the serialized_dashboard value&lt;/STRONG&gt;, which resulted in all our dashboards becoming empty.&lt;/P&gt;&lt;P&gt;Fortunately, they are still &lt;STRONG&gt;published&lt;/STRONG&gt;, and I would like to know if there is any way to &lt;STRONG&gt;retrieve the JSON content&lt;/STRONG&gt; from the &lt;STRONG&gt;published dashboards&lt;/STRONG&gt; and use that data to &lt;STRONG&gt;restore the draft versions&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Is there a method or API call that allows us to extract the &lt;STRONG&gt;published dashboard JSON&lt;/STRONG&gt; and restore our drafts?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 13:35:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111707#M1918</guid>
      <dc:creator>Anton2</dc:creator>
      <dc:date>2025-03-04T13:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Dashboard Data</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111737#M1919</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/151895"&gt;@Anton2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the Dashboard-definition with the databricks cli. You need the id of the published Dashboard, which you see in the url, as example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StefanKoch_0-1741102227613.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15224iE5D8DAC55D6B1461/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StefanKoch_0-1741102227613.png" alt="StefanKoch_0-1741102227613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, open a Terminal, run databricks cli, and save the output in a json file:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks lakeview get 01efdce4fd64105f9030f5b203c77cf9 &amp;gt; dashboard.json&lt;/LI-CODE&gt;&lt;P&gt;you can see the content in an editor:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StefanKoch_1-1741102337971.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15225i73CE07A74C2BA9FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StefanKoch_1-1741102337971.png" alt="StefanKoch_1-1741102337971.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also with the databricks cli, you can create new dashboards. I didn't had the time to test it, but you should be able to make it work.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks lakeview create -h  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StefanKoch_2-1741102480234.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15226iFCE14F9D9CA6E1EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StefanKoch_2-1741102480234.png" alt="StefanKoch_2-1741102480234.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You may have to change the json-file, that only the request body is in there.&lt;/P&gt;&lt;P&gt;I'm looking forward to your answer as to whether it worked&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 15:35:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111737#M1919</guid>
      <dc:creator>Stefan-Koch</dc:creator>
      <dc:date>2025-03-04T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Dashboard Data</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111775#M1923</link>
      <description>&lt;P&gt;Unfortunately, this approach retrieves only the &lt;STRONG&gt;draft version&lt;/STRONG&gt; of the dashboard, which is already empty in our case, resulting in an empty object response. However, the &lt;STRONG&gt;published version is still working&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;My question is: &lt;STRONG&gt;How can we obtain the JSON data of the published dashboard, and where is it stored?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have reviewed the Databricks documentation but couldn't find any relevant information on this.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 03:15:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/111775#M1923</guid>
      <dc:creator>Anton2</dc:creator>
      <dc:date>2025-03-05T03:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Dashboard Data</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/114092#M1971</link>
      <description>&lt;P&gt;I'm having a similar problem. The published dashboard must be stored somewhere. Can anyone at Databricks help us here?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 15:26:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/114092#M1971</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2025-03-31T15:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Dashboard Data</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/114290#M1975</link>
      <description>&lt;P&gt;I am facing the same.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 11:46:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/recovering-lost-dashboard-data/m-p/114290#M1975</guid>
      <dc:creator>LeviDane</dc:creator>
      <dc:date>2025-04-02T11:46:55Z</dc:date>
    </item>
  </channel>
</rss>

