<?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 Re: How to backup databrick delta tables or workspace in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7398#M3286</link>
    <description>&lt;P&gt;Hi @Sanjay Jain​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta table is ACID compliant and can store the previous versions of your data depending on the retention period you set. So if you by any chance overwritten the table with a messy data or let's say dropped your table/data mistakenly, you can use the time travel capabilities of delta lake and go back to the previous versions (number of days) as  per your retention set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://delta.io/blog/2023-02-01-delta-lake-time-travel/" alt="https://delta.io/blog/2023-02-01-delta-lake-time-travel/" target="_blank"&gt;Delta Lake Time travel&lt;/A&gt; -&amp;gt; Please refer this link for some examples of the time travel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workspace also stores the previous versions in the UI itself. In the Databricks UI, you can toggle the version history. Please refer this -  &lt;A href="https://docs.databricks.com/workspace/index.html#" target="test_blank"&gt;https://docs.databricks.com/workspace/index.html#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 08:13:20 GMT</pubDate>
    <dc:creator>pvignesh92</dc:creator>
    <dc:date>2023-03-21T08:13:20Z</dc:date>
    <item>
      <title>How to backup databrick delta tables or workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7397#M3285</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand how to take backup of databrick delta tables/workspace and how to restore in case if any failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or suggest me any alternative solution to revert back if data is corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 05:56:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7397#M3285</guid>
      <dc:creator>sanjay</dc:creator>
      <dc:date>2023-03-21T05:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup databrick delta tables or workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7398#M3286</link>
      <description>&lt;P&gt;Hi @Sanjay Jain​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta table is ACID compliant and can store the previous versions of your data depending on the retention period you set. So if you by any chance overwritten the table with a messy data or let's say dropped your table/data mistakenly, you can use the time travel capabilities of delta lake and go back to the previous versions (number of days) as  per your retention set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://delta.io/blog/2023-02-01-delta-lake-time-travel/" alt="https://delta.io/blog/2023-02-01-delta-lake-time-travel/" target="_blank"&gt;Delta Lake Time travel&lt;/A&gt; -&amp;gt; Please refer this link for some examples of the time travel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workspace also stores the previous versions in the UI itself. In the Databricks UI, you can toggle the version history. Please refer this -  &lt;A href="https://docs.databricks.com/workspace/index.html#" target="test_blank"&gt;https://docs.databricks.com/workspace/index.html#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 08:13:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7398#M3286</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-03-21T08:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup databrick delta tables or workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7399#M3287</link>
      <description>&lt;P&gt;Thank you. Delta Lake Time Travel is helpful.  Do you mean "Data Explorer" where I can see history for each table. That way I need to retrieve each table separately. Is there a way to retrieve full workspace in one go in case of any failure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:02:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7399#M3287</guid>
      <dc:creator>sanjay</dc:creator>
      <dc:date>2023-03-21T11:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup databrick delta tables or workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7400#M3288</link>
      <description>&lt;P&gt;Hi @Sanjay Jain​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some of the ways  &lt;/P&gt;&lt;P&gt;Deep Clone: &lt;A href="https://www.databricks.com/wp-content/uploads/notebooks/using-deep-clone-disaster-recovery-delta-lake-databricks.html" target="test_blank"&gt;https://www.databricks.com/wp-content/uploads/notebooks/using-deep-clone-disaster-recovery-delta-lake-databricks.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Repos for notebooks and code: &lt;A href="https://docs.databricks.com/repos/index.html" target="test_blank"&gt;https://docs.databricks.com/repos/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/administration-guide/disaster-recovery.html" target="test_blank"&gt;https://docs.databricks.com/administration-guide/disaster-recovery.html&lt;/A&gt; this covers further details on DR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nandini&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:13:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7400#M3288</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2023-03-21T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup databrick delta tables or workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7401#M3289</link>
      <description>&lt;P&gt;@Sanjay Jain​&amp;nbsp; In the data explorer, you can just see the object level information.  If you need the version history of each delta lake table, the below command would help&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DESCRIBE HISTORY table_name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you need to see each notebook level versioning, you can look in the UI itself. This will help to see the changes in each version of your notebook and revert back to any previous versions. But if your requirement is on a complete workspace level, then using Version Control tools like Git or Bitbucket should help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below links for some more idea on this. &lt;/P&gt;&lt;P&gt;&lt;A href="https://cprosenjit.medium.com/azure-databricks-version-management-35fc78e11d7" alt="https://cprosenjit.medium.com/azure-databricks-version-management-35fc78e11d7" target="_blank"&gt;Azure Databricks &amp;amp; Version Management | by Prosenjit Chakraborty | Medium&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://bigdataprogrammers.com/version-control-in-databricks-notebook/" alt="https://bigdataprogrammers.com/version-control-in-databricks-notebook/" target="_blank"&gt;Version Control in Databricks Notebook (bigdataprogrammers.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw @Sanjay Jain​&amp;nbsp;you selected your response as the best answer. Hope it's a mistake. If you feel my answer helped, please select mine as best answer. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 12:06:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-backup-databrick-delta-tables-or-workspace/m-p/7401#M3289</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-03-21T12:06:36Z</dc:date>
    </item>
  </channel>
</rss>

