<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Clone on digitalitem: Claude skills library and product lab</title><link>https://digitalitem.online/en/tags/clone/</link><description>Recent content in Clone on digitalitem: Claude skills library and product lab</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 20 Oct 2026 13:25:00 +0000</lastBuildDate><atom:link href="https://digitalitem.online/en/tags/clone/index.xml" rel="self" type="application/rss+xml"/><item><title>PITR and Clone: Point-in-Time Recovery and Zero-Copy</title><link>https://digitalitem.online/en/posts/pitr-and-clone/</link><pubDate>Tue, 20 Oct 2026 13:25:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/pitr-and-clone/</guid><description>&lt;p&gt;Beyond &amp;ldquo;read a snapshot&amp;rdquo;, a data version system has two very practical abilities: &lt;strong&gt;point-in-time recovery (PITR)&lt;/strong&gt; and &lt;strong&gt;zero-copy clone&lt;/strong&gt;. This post covers the trade-offs in implementing them.&lt;/p&gt;
&lt;h2 id="1-pitr-find-the-newest-reference-not-later-than-t"&gt;1. PITR: find the newest reference not later than T&lt;/h2&gt;
&lt;p&gt;A reference (snapshot or branch) is essentially &amp;ldquo;a name plus a commit id (pin)&amp;rdquo;. PITR needs no extra log; it does:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;given time T:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; find references with created &amp;lt;= T
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; take the one with the largest created
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; restore to it
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That is recovery &lt;strong&gt;based on the reference sequence&lt;/strong&gt;, not WAL replay. The upside is simplicity and consistency with the snapshot system; the downside is precision tied to how often you create references — if two references are an hour apart, you can only restore to before that hour.&lt;/p&gt;</description></item></channel></rss>