<?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: Delta Tables incremental backup method in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35013#M25698</link>
    <description>&lt;P&gt;Hi @Stefan Stegaru​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Delta time travel to query the data that was just added on a specific version.  Then like @Hubert Dudek​&amp;nbsp; mentioned, you can copy over this sub set of data to a new table or a new location.  You will need to do a deep clone to copy over the data from the source. Docs &lt;A href="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-clone.html" alt="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-clone.html" target="_blank"&gt;here&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 19:47:09 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2021-11-17T19:47:09Z</dc:date>
    <item>
      <title>Delta Tables incremental backup method</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35010#M25695</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone tried to create an incremental backup on delta tables? What I mean is to load into the backup storage only the latest parquet files part of the Delta Table and to refresh the _delta_log folder, instead of copying the whole files again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The principle that I base this method on, is that when new data is added into the Delta Table, a new parquet file is added. So it should be possible to copy only those new files. Is it possible that a parquet file to be changed after its creation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am curious if someone else tried and if you think that this is a valid idea and how it would compare with Deep Clone in regards to speed and resource spent ?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 09:40:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35010#M25695</guid>
      <dc:creator>SRS</dc:creator>
      <dc:date>2021-11-16T09:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Tables incremental backup method</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35011#M25696</link>
      <description>&lt;P&gt;I'm gonna answer this with a question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How are you going to rebuild the latest state of the delta lake table?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 10:23:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35011#M25696</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2021-11-16T10:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Tables incremental backup method</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35012#M25697</link>
      <description>&lt;UL&gt;&lt;LI&gt;copy your delta to new location (best adsl/blobstorage in other region)&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OR REPLACE TABLE shared_table CLONE my_prod_table;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vacuum all history in new location&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;%sql
VACUUM delta.`&amp;lt;path-to-table&amp;gt;` RETAIN 0 HOURS&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;remove &amp;lt;path-to-table&amp;gt;/_delta_log in new location&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 16 Nov 2021 11:31:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35012#M25697</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-11-16T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Tables incremental backup method</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35013#M25698</link>
      <description>&lt;P&gt;Hi @Stefan Stegaru​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Delta time travel to query the data that was just added on a specific version.  Then like @Hubert Dudek​&amp;nbsp; mentioned, you can copy over this sub set of data to a new table or a new location.  You will need to do a deep clone to copy over the data from the source. Docs &lt;A href="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-clone.html" alt="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-clone.html" target="_blank"&gt;here&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 19:47:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-tables-incremental-backup-method/m-p/35013#M25698</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-11-17T19:47:09Z</dc:date>
    </item>
  </channel>
</rss>

