<?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[File restore not finding any option]]></title><description><![CDATA[<p dir="auto">Hello.<br />
I have full backups from VMs. I can restore the full VM, with no issues at all:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1681119068419-screenshot-2023-04-10-at-11.27.53-resized.png" alt="Screenshot 2023-04-10 at 11.27.53.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But I want actually, from that VM particularly, a few files only. They are in total a few hundred KB but they are super important. So I wanted to give file restore a try. Now there is no option at all, no option to select any full backup or anything:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1681119047648-screenshot-2023-04-10-at-11.30.30-resized.png" alt="Screenshot 2023-04-10 at 11.30.30.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So I am wondering - how to achieve that? Do I need to use some special backup option before I am able to do a file-based restore or am I missing something?</p>
]]></description><link>https://xcp-ng.org/forum/topic/7190/file-restore-not-finding-any-option</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 03:24:20 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/7190.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Apr 2023 09:31:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 12:37:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/splastunov" aria-label="Profile: splastunov">@<bdi>splastunov</bdi></a> said in <a href="/forum/post/60992">File restore not finding any option</a>:</p>
<blockquote>
<p dir="auto">If nothing will help and you can't import xva with <code>import VM</code>, I have solution.</p>
<ol>
<li>Deploy new VM with disk x4 times greater than backup file. OS Ubuntu 16.04 or later.</li>
<li>Copy backup. Take attention. You need always copy backup. Do not move it.</li>
<li>Install xva-img <a href="https://github.com/eriklax/xva-img" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/eriklax/xva-img</a></li>
</ol>
<pre><code class="language-apt-get">add-apt-repository ppa:ubuntu-toolchain-r/test &amp;&amp; apt-get update &amp;&amp; apt-get install -y gcc-7
cd to xva-img dir and run next command
cmake ./
make install
</code></pre>
<ol start="4">
<li>Extract <code>xva</code> file</li>
</ol>
<pre><code class="language-mkdir">tar -xf my-virtual-machine.xva -C my-virtual-machine
chmod -R 755 my-virtual-machine
</code></pre>
<ol start="5">
<li>In folder <code>my-virtual-machine</code> you will find some directory like <code>Ref :1</code>, but maybe with another number. Remember this number.</li>
<li>Create <code>raw</code> disk from extracted. Replace 1 with number from previous step.</li>
</ol>
<pre><code>xva-img -p disk-export my-virtual-machine/Ref\:1/ disk.raw
</code></pre>
<ol start="7">
<li>Install <code>qemu-utils</code></li>
</ol>
<pre><code>apt install qemu-utils
</code></pre>
<ol start="8">
<li>Convert <code>raw</code> to <code>vhd</code></li>
</ol>
<pre><code>qemu-img convert -f raw -O vpc disk.raw [vhd-name-you-like].vhd
</code></pre>
<ol start="9">
<li>Copy <code>vhd</code> to some SR. I'm using local SRs, so in my case path is <code>/var/run/sr-mount/[sr-uuid]</code></li>
<li>Go to the host, <code>cd</code> to SR folder, get VHD uuid, rename VHD</li>
</ol>
<pre><code>cd /var/run/sr-mount/[sr-uuid]
vhd-util read -p -n [vhd-name-you-like_from-step-8].vhd
mv [vhd-name-you-like_from-step-8].vhd [uuid].vhd
</code></pre>
<ol start="11">
<li>Rescan SR</li>
<li>Attach VHD to existing VM or deploy new one</li>
<li>Get you files</li>
</ol>
</blockquote>
<p dir="auto">wow. I am getting on with this in parallel. Thank you again! Results for both suggestions and requests are coming!</p>
]]></description><link>https://xcp-ng.org/forum/post/60993</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60993</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 12:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 12:15:52 GMT]]></title><description><![CDATA[<p dir="auto">If nothing will help and you can't import xva with <code>import VM</code>, I have solution.</p>
<ol>
<li>Deploy new VM with disk x4 times greater than backup file. OS Ubuntu 16.04 or later.</li>
<li>Copy backup. Take attention. You need always copy backup. Do not move it.</li>
<li>Install xva-img <a href="https://github.com/eriklax/xva-img" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/eriklax/xva-img</a></li>
</ol>
<pre><code class="language-apt-get">add-apt-repository ppa:ubuntu-toolchain-r/test &amp;&amp; apt-get update &amp;&amp; apt-get install -y gcc-7
cd to xva-img dir and run next command
cmake ./
make install
</code></pre>
<ol start="4">
<li>Extract <code>xva</code> file</li>
</ol>
<pre><code class="language-mkdir">tar -xf my-virtual-machine.xva -C my-virtual-machine
chmod -R 755 my-virtual-machine
</code></pre>
<ol start="5">
<li>In folder <code>my-virtual-machine</code> you will find some directory like <code>Ref :1</code>, but maybe with another number. Remember this number.</li>
<li>Create <code>raw</code> disk from extracted. Replace 1 with number from previous step.</li>
</ol>
<pre><code>xva-img -p disk-export my-virtual-machine/Ref\:1/ disk.raw
</code></pre>
<ol start="7">
<li>Install <code>qemu-utils</code></li>
</ol>
<pre><code>apt install qemu-utils
</code></pre>
<ol start="8">
<li>Convert <code>raw</code> to <code>vhd</code></li>
</ol>
<pre><code>qemu-img convert -f raw -O vpc disk.raw [vhd-name-you-like].vhd
</code></pre>
<ol start="9">
<li>Copy <code>vhd</code> to some SR. I'm using local SRs, so in my case path is <code>/var/run/sr-mount/[sr-uuid]</code></li>
<li>Go to the host, <code>cd</code> to SR folder, get VHD uuid, rename VHD</li>
</ol>
<pre><code>cd /var/run/sr-mount/[sr-uuid]
vhd-util read -p -n [vhd-name-you-like_from-step-8].vhd
mv [vhd-name-you-like_from-step-8].vhd [uuid].vhd
</code></pre>
<ol start="11">
<li>Rescan SR</li>
<li>Attach VHD to existing VM or deploy new one</li>
<li>Get you files</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/60992</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60992</guid><dc:creator><![CDATA[splastunov]]></dc:creator><pubDate>Tue, 11 Apr 2023 12:15:52 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 11:03:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/damjank" aria-label="Profile: damjank">@<bdi>damjank</bdi></a></p>
<p dir="auto">Fist : to help you get your file as fast as possible:<br />
since ths is a full vm backup, tha data are stored in a .xva file in <code>&lt;your remote&gt;/xo-vm-backups/&lt;uuid of the vm&gt;/&lt;date of the backup&gt;.xva</code> datetime of the backup can be a little different, depending on your timezone</p>
<p dir="auto">this file should be importable through the <code>import VM</code> feature of XO</p>
<p dir="auto">then , to understand the root cause: are you restoring through the proxy ?<br />
Is there anything related in the xo logs ?</p>
]]></description><link>https://xcp-ng.org/forum/post/60987</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60987</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Tue, 11 Apr 2023 11:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 10:38:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/damjank" aria-label="Profile: damjank">@<bdi>damjank</bdi></a> said in <a href="/forum/post/60985">File restore not finding any option</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> roger! I am upgrading now an testing</p>
</blockquote>
<p dir="auto">SO I have upgraded to latest version of open source version of XO. I am currently at:</p>
<ul>
<li>
<p dir="auto">xo-server 5.111.1</p>
</li>
<li>
<p dir="auto">xo-web 5.114.0</p>
</li>
<li>
<p dir="auto">build afadc - <a href="https://github.com/vatesfr/xen-orchestra/commit/afadc8f95adf741611d1f298dfe77cbf1f895231" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vatesfr/xen-orchestra/commit/afadc8f95adf741611d1f298dfe77cbf1f895231</a></p>
</li>
<li>
<p dir="auto">also latest version of backup proxy</p>
</li>
</ul>
<p dir="auto">I try the restore, same result, here is the complete log (from settings -&gt; logs):</p>
<pre><code>backupNg.importVmBackup
{
  "id": "70cc277b-7a40-4be1-b3bb-af6694d7fd77//xo-vm-backups/b7f3f3b4-bbd6-c2eb-06f2-31917ac7a1a0/20230129T030711Z.json",
  "settings": {
    "mapVdisSrs": {},
    "newMacAddresses": false
  },
  "sr": "11e5da06-7f76-2a74-3040-e66887d22844"
}
{
  "message": "Cannot read properties of undefined (reading 'id')",
  "name": "TypeError",
  "stack": "TypeError: Cannot read properties of undefined (reading 'id')
    at BackupNg.importVmBackupNg (file:///opt/xo/xo-builds/xen-orchestra-202304111128/packages/xo-server/src/xo-mixins/backups-ng/index.mjs:531:21)
    at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202304111128/packages/xo-server/src/xo-mixins/api.mjs:401:20)"
}
</code></pre>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">



<div class="meta">
<span class="float-end">0 <i class="fa fa-comment"></i></span>
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/298721?v=4" title="julien-f" />
<a href="https://github.com/julien-f"><span class="username">julien-f</span></a> committed <span class="timeago" title="2023-04-08T08:53:05Z"></span> to <a href="//github.com/vatesfr/xen-orchestra">vatesfr/xen-orchestra</a>
</div>
<a href="https://github.com/vatesfr/xen-orchestra/commit/afadc8f95adf741611d1f298dfe77cbf1f895231"><pre>fix(read-chunk): better not enough data error message</pre></a>

</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/60986</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60986</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 10:38:03 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 10:26:20 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> roger! I am upgrading now an testing</p>
]]></description><link>https://xcp-ng.org/forum/post/60985</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60985</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 10:26:20 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:48:03 GMT]]></title><description><![CDATA[<p dir="auto">Please first get on latest commit and rebuild <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> That's the first step before reporting a problem, as explained in <a href="https://xen-orchestra.com/docs/community.html#report-a-bug" target="_blank" rel="noopener noreferrer nofollow ugc">our official doc</a></p>
]]></description><link>https://xcp-ng.org/forum/post/60978</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60978</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:41:17 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> I am on 53e0f (<a href="https://github.com/vatesfr/xen-orchestra/commit/53e0f17c55c2f023d1f852411ecaa703ba9a3927" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vatesfr/xen-orchestra/commit/53e0f17c55c2f023d1f852411ecaa703ba9a3927</a>)</p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">



<div class="meta">
<span class="float-end">0 <i class="fa fa-comment"></i></span>
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/50174?v=4" title="fbeauchamp" />
<a href="https://github.com/fbeauchamp"><span class="username">fbeauchamp</span></a> committed <span class="timeago" title="2023-03-28T17:29:34Z"></span> to <a href="//github.com/vatesfr/xen-orchestra">vatesfr/xen-orchestra</a>
</div>
<a href="https://github.com/vatesfr/xen-orchestra/commit/53e0f17c55c2f023d1f852411ecaa703ba9a3927"><pre>feat(xo-server): import multiple from ESXi (#6708)</pre></a>

</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/60976</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60976</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:41:17 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:39:34 GMT]]></title><description><![CDATA[<p dir="auto">On which commit are you?</p>
]]></description><link>https://xcp-ng.org/forum/post/60975</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60975</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:39:34 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:35: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> all my VMs have same disk size, inside VM I attach iSCSI drive - that drive is big but it is not part of the backup.<br />
I use XO from sources. Both screenshots are from same backup job, just different sections - one from tick on the fail icon inside backup page and second is inside settings -&gt; logs</p>
]]></description><link>https://xcp-ng.org/forum/post/60974</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60974</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:33:41 GMT]]></title><description><![CDATA[<p dir="auto">Are you sure it's the disk size and not the space used in the VM? That's very different in thick SR.</p>
<p dir="auto">For the first screenshot, it's pretty clear that's the issue. For the second one, it's a different problem. Are you using XO from the sources or XOA?</p>
]]></description><link>https://xcp-ng.org/forum/post/60973</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60973</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:33:41 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:32:47 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> 30GB</p>
]]></description><link>https://xcp-ng.org/forum/post/60972</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60972</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:31:21 GMT]]></title><description><![CDATA[<p dir="auto">What's the size of the virtual disk for this VM?</p>
]]></description><link>https://xcp-ng.org/forum/post/60971</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60971</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:31:21 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:29:29 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> but as you can see, target SR has several hundred GB free, I also tried to restore on completely different host that has several terabytes free and I get same response..</p>
]]></description><link>https://xcp-ng.org/forum/post/60970</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60970</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:29:29 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:28:08 GMT]]></title><description><![CDATA[<p dir="auto">This message only means you don't have enough space to restore your backup on the target storage repository. Please select a SR with more free space.</p>
]]></description><link>https://xcp-ng.org/forum/post/60969</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60969</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Tue, 11 Apr 2023 09:15:48 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> thx for that, i will. setup new backups accordingly.</p>
<p dir="auto">But the existing backup, that I have done, a full backup, is completely failing to restore. If I try regular restore (destination is different host as the previous failed), all I get is this:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1681204439181-2023-04-11_11-11.png" alt="2023-04-11_11-11.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">whereas:<br />
<img src="/forum/assets/uploads/files/1681204451442-2023-04-11_11-11_1.png" alt="2023-04-11_11-11_1.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">so hosts SR definitely can host 30GB disk... but if I look into the log section in config:<br />
<img src="/forum/assets/uploads/files/1681204481337-2023-04-11_11-12.png" alt="2023-04-11_11-12.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So what now - I lost the backup forever, and I should just forget about the files? I tried to open the backup file, as suggested with 7zip, and all I get is the list of many thousands of files inside the XVA...</p>
<p dir="auto">Any pointers would be greatly appreciated.</p>
<p dir="auto">rgD</p>
]]></description><link>https://xcp-ng.org/forum/post/60966</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60966</guid><dc:creator><![CDATA[damjank]]></dc:creator><pubDate>Tue, 11 Apr 2023 09:15:48 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Mon, 10 Apr 2023 11:25:37 GMT]]></title><description><![CDATA[<p dir="auto">File level restore works only in Delta mode.</p>
]]></description><link>https://xcp-ng.org/forum/post/60940</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60940</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 10 Apr 2023 11:25:37 GMT</pubDate></item><item><title><![CDATA[Reply to File restore not finding any option on Mon, 10 Apr 2023 10:25:00 GMT]]></title><description><![CDATA[<p dir="auto">You can use 7-zip to open it and get only necessary files.</p>
]]></description><link>https://xcp-ng.org/forum/post/60938</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60938</guid><dc:creator><![CDATA[splastunov]]></dc:creator><pubDate>Mon, 10 Apr 2023 10:25:00 GMT</pubDate></item></channel></rss>