<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem with differential restore]]></title><description><![CDATA[<p dir="auto">When I try to perform a differential restore I get this error:<br />
VDI_INCOMPATIBLE_TYPE(OpaqueRef:94df0a4b-69ba-4ef5-adb3-21c5259ea0b1, CBT metadata)<br />
Regular restore appears to be working.<br />
Any advice please?</p>
]]></description><link>https://xcp-ng.org/forum/topic/9728/problem-with-differential-restore</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 20:21:05 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9728.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Oct 2024 13:54:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with differential restore on Fri, 18 Oct 2024 16:05:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/frank-s" aria-label="Profile: frank-s">@<bdi>frank-s</bdi></a> Think of it like this...</p>
<p dir="auto">You take the original backup with snapshot  on October 1st.</p>
<p dir="auto">You then have a differential backup on October 8th.  That differential only writes the changes that make the state of the server on October 8th different (hence the term differential) from the state of the server as it was on the full snapshot on October 1st.</p>
<p dir="auto">Now you delete the snapshot of the full system state taken on October 1st, leaving only the October 8th differential.</p>
<p dir="auto">It's now October 15th and you want to restore something from the October 8th differential and you figure you'll just make a new full snapshot from October 15th and then try to apply the October 8th differential.  However, this won't work because the differential from October 8th will be missing key reference points it will be looking for in order to overlay its changes onto the snapshot.  What else on that server changed from October 1st to October 15th that isn't contained in the differential?  What changes occurred from October 8th to October 15th that are <em>newer</em> than what is on the differential?  You could, potentially, brick your entire system if the differential started overwriting changes it sees from its system state that are actually newer than the data it contains.</p>
<p dir="auto">Differentials are entirely dependent on the full snapshot on which they are based.  Any new snapshot taken after their creation will be totally foreign to the differential... those differentials will be looking for <em>very specific</em>  system states that existed at the time the original snapshot was created, and those will be completely different from the system state as it will appear on a new snapshot created after the differential.</p>
]]></description><link>https://xcp-ng.org/forum/post/84470</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84470</guid><dc:creator><![CDATA[JamfoFL]]></dc:creator><pubDate>Fri, 18 Oct 2024 16:05:21 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 17 Oct 2024 18:00:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/83525">Problem with differential restore</a>:</p>
<blockquote>
<p dir="auto">No, because it's a planned feature. In short, XOA will act as an temporary SR so you can instantly start the backup VM, then migrate it to the target storage.</p>
</blockquote>
<p dir="auto">That’s great get InstantRestore!!!!</p>
]]></description><link>https://xcp-ng.org/forum/post/84415</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84415</guid><dc:creator><![CDATA[KPS]]></dc:creator><pubDate>Thu, 17 Oct 2024 18:00:54 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 17 Oct 2024 09:26:19 GMT]]></title><description><![CDATA[<p dir="auto">You will create a snapshot on the current state of the VM. Which has changed since the last snapshot. So this new snapshot has nothing to do with the previous/removed one, block changed. If you apply a diff from the old/removed snap on top of the new snapshot, what do you think will be the result?</p>
]]></description><link>https://xcp-ng.org/forum/post/84390</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84390</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 17 Oct 2024 09:26:19 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 17 Oct 2024 09:07:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> &lt;The snapshot is deleted. You need a reference point to do differential&gt;.  So, since the snapshot is deleted, create a new one (snapshot) as part of the restore process and use that for the reference - then delete it when done.</p>
]]></description><link>https://xcp-ng.org/forum/post/84389</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84389</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 17 Oct 2024 09:07:31 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 17 Oct 2024 06:47:49 GMT]]></title><description><![CDATA[<p dir="auto">Create a snapshot against which reference? The snapshot is deleted. You need a reference point to do differential. That reference is deleted when you remove the snapshot data.</p>
<p dir="auto">Differential means differential against something, a reference. If you don't have a reference, it doesn't make sense. It's like guess a number after "minus 2" operation. What is that number? If you don't have the original number, it's impossible to apply "minus 2" on it.</p>
]]></description><link>https://xcp-ng.org/forum/post/84383</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84383</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 17 Oct 2024 06:47:49 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 22:21:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Agreed, but in the case where the snapshot has been deleted, why can't the differential restore process simply create a snapshot from the vm and use that instead?</p>
]]></description><link>https://xcp-ng.org/forum/post/84378</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84378</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Wed, 16 Oct 2024 22:21:43 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 18:38:04 GMT]]></title><description><![CDATA[<p dir="auto">That's true as long as you keep the snapshot data, which is not the case in NBD+purge data.</p>
]]></description><link>https://xcp-ng.org/forum/post/84353</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84353</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 16 Oct 2024 18:38:04 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 16:52:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> So, earlier in this thread, florent said "differential restore work by not transferring the data that the snapshot and the backup have in common, without reading any of those<br />
it clone the last snapshot, an then revert the block changed between the older backup and the snapshot".  If this is true (and I'm sure it is) why can't the differential restore system create the missing snapshot and use that to complete the differential restore?</p>
]]></description><link>https://xcp-ng.org/forum/post/84347</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84347</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Wed, 16 Oct 2024 16:52:35 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 15:55:44 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure to follow. You need a point of reference in time to restore. If you start from a new snapshot, and apply the diff blocks (from XO backup) on top of it, it will be complete nonsense.</p>
]]></description><link>https://xcp-ng.org/forum/post/84342</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84342</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 16 Oct 2024 15:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 15:51:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> No, not recreating the snapshot from the CBT metadata but simply creating a new temporary snapshot, perform differential restore and delete the temporary snapshot when done.</p>
]]></description><link>https://xcp-ng.org/forum/post/84341</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84341</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Wed, 16 Oct 2024 15:51:28 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 14:58:39 GMT]]></title><description><![CDATA[<p dir="auto">Recreating the snapshot from the CBT metadata? The problem is the CBT metadata doesn't make sense alone, only compared to the data saved by XO. So this will need to read a lot of data between XO and the host, not sure it will be faster at all (probably the opposite)</p>
]]></description><link>https://xcp-ng.org/forum/post/84332</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84332</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 16 Oct 2024 14:58:39 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Wed, 16 Oct 2024 14:53:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/frank-s" aria-label="Profile: frank-s">@<bdi>frank-s</bdi></a> So- I have been thinking about this.  If an NBT/CBT backup is set to destroy the snapshot, would it be possible to make differential restore work by having the restore process create the snapshot it needs, perform the differential restore and then delete the snapshot?</p>
]]></description><link>https://xcp-ng.org/forum/post/84331</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84331</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Wed, 16 Oct 2024 14:53:29 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 17:27:44 GMT]]></title><description><![CDATA[<p dir="auto">Thank you.</p>
]]></description><link>https://xcp-ng.org/forum/post/83526</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83526</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 17:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 17:26:36 GMT]]></title><description><![CDATA[<p dir="auto">No, because it's a planned feature. In short, XOA will act as an temporary SR so you can instantly start the backup VM, then migrate it to the target storage.</p>
]]></description><link>https://xcp-ng.org/forum/post/83525</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83525</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Oct 2024 17:26:36 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 17:24:09 GMT]]></title><description><![CDATA[<p dir="auto">Thank you.  Is there somewhere I can read about this instant restore feature?</p>
]]></description><link>https://xcp-ng.org/forum/post/83524</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83524</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 17:24:09 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 17:21:21 GMT]]></title><description><![CDATA[<p dir="auto">You can't have CBT/flush snap + diff restore.  In your case, our future instant restore feature might be one you seek.</p>
]]></description><link>https://xcp-ng.org/forum/post/83519</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83519</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Oct 2024 17:21:21 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 16:26:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/frank-s" aria-label="Profile: frank-s">@<bdi>frank-s</bdi></a> Soz - I meant differential restores...</p>
]]></description><link>https://xcp-ng.org/forum/post/83514</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83514</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 16:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 15:56:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a><br />
I just did a delta backup on a small VM but chose NOT to delete the snapshot.  It completed quickly and I then tried a differential restore and it worked.  I also tried to do a differential restore on a delta backup made yesterday when the snapshot was deleted - this also worked.  Will it be possible in the future to make differential backups work without keeping the snapshot?  Is such a thing possible?<br />
Thanks,<br />
Frank.</p>
]]></description><link>https://xcp-ng.org/forum/post/83510</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83510</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 15:56:52 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 15:18:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/frank-s" aria-label="Profile: frank-s">@<bdi>frank-s</bdi></a> said in <a href="/forum/post/83495">Problem with differential restore</a>:</p>
<blockquote>
<p dir="auto">So my guess is it will work if I choose not to delete the snapshot???  If that is correct it is a pity as differential restore is very fast compared to regular restore.  Differential restore, for instance, would be a brilliant way to recover quickly from a ransomware attack.  Also, deleting the snapshot makes coalescing much faster.  Am I correct in my assumptions?  Is there a way it could be made to work without the snapshot?<br />
Thank you,<br />
Frank.</p>
</blockquote>
<p dir="auto">differential restore work by not transferring the data that the snapshot and the backup have in common, without reading any of those<br />
it clone the last snapshot, an then revert the block changed between the older backup and the snapshot.</p>
<p dir="auto">In theory, if you run a delta backup without destroying the data, it should provide the anchor to have this work.</p>
]]></description><link>https://xcp-ng.org/forum/post/83501</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83501</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Thu, 03 Oct 2024 15:18:23 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 15:10:42 GMT]]></title><description><![CDATA[<p dir="auto">I will backup again without deleting the snapshot and then attempt a differential restore.<br />
I will update this thread when done.</p>
]]></description><link>https://xcp-ng.org/forum/post/83498</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83498</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 15:10:42 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 15:08:20 GMT]]></title><description><![CDATA[<p dir="auto">I have the impression it's one or another, to choose between pro and cons on the two.</p>
]]></description><link>https://xcp-ng.org/forum/post/83496</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83496</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Oct 2024 15:08:20 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 15:07:24 GMT]]></title><description><![CDATA[<p dir="auto">So my guess is it will work if I choose not to delete the snapshot???  If that is correct it is a pity as differential restore is very fast compared to regular restore.  Differential restore, for instance, would be a brilliant way to recover quickly from a ransomware attack.  Also, deleting the snapshot makes coalescing much faster.  Am I correct in my assumptions?  Is there a way it could be made to work without the snapshot?<br />
Thank you,<br />
Frank.</p>
]]></description><link>https://xcp-ng.org/forum/post/83495</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83495</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 15:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 14:57:15 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, it's a lot more clear now <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1e2d7c4c493" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> I don't think diff restore works with CBT as we remove the snapshot data. But it's a good question so we update the UI to reflect that and/or document it. <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> will confirm</p>
]]></description><link>https://xcp-ng.org/forum/post/83493</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83493</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Oct 2024 14:57:15 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with differential restore on Thu, 03 Oct 2024 14:53:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a><br />
I am using XO from the sources.<br />
commit a9b99 Master, commit 30172<br />
When I try to restore I select the appropriate backup (I have done this with both internal NFS remote and also with s3 remote).  I select the SR that the backed up VM is on and turn on "use differential restore".  When I click OK it fails immediately with the following error: &lt;VDI_INCOMPATIBLE_TYPE(OpaqueRef:6ef1574a-ffc6-412b-bf6b-6804bacc0523, CBT metadata)&gt;<br />
This also happens on a completely different installation (different XCP different XO different client).<br />
It's been a while since I used differential restore.  It seems odd that when turned on I can select any destination SR.  My understanding is that the restore needs the same SR as the original VM - that's what I selected.<br />
When I last used differential restore I was not using NBD/CBT.<br />
Regular restore seems to be working.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1727966750375-20ae3ebd-3801-485c-8b59-9193e06c2c56-image.png" alt="20ae3ebd-3801-485c-8b59-9193e06c2c56-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks,<br />
Frank.</p>
]]></description><link>https://xcp-ng.org/forum/post/83492</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83492</guid><dc:creator><![CDATA[frank-s]]></dc:creator><pubDate>Thu, 03 Oct 2024 14:53:51 GMT</pubDate></item></channel></rss>