<?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[ZTP Restore XOA From Backup]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm working on a provisioning template to rebuild my XOA server without any sort of user interaction.  A few questions:</p>
<ol>
<li>Assume XOA and all plugins are installed.  When restoring from backup, is it ONLY necessary to restore the "XO config" in order to bring XOA back into service 100%?</li>
<li>If not, what else needs to be backed up and restored?</li>
<li>Using the xo-cli to restore the config from backup, may I presume the following command is correct and the data.json file is the config file I want to restore?</li>
</ol>
<pre><code>xo-cli xo.importConfig @=/tmp/config_backup/xo-config-backups/2f26913f-81a5-4fbd-af86-ce83f90e525b/20220331T070000Z/data.json
</code></pre>
<p dir="auto">Just to be clear, I'm not talking about restoring any XCP-NG hosts.  I'm specifically talking about restoring XOA on a new VM.</p>
]]></description><link>https://xcp-ng.org/forum/topic/5720/ztp-restore-xoa-from-backup</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 06:03:45 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/5720.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Mar 2022 18:44:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ZTP Restore XOA From Backup on Sat, 02 Apr 2022 06:26:47 GMT]]></title><description><![CDATA[<p dir="auto">on my side importing backup config in a new XO installation worked (Using Webinterface). (i build from sources). Only thing wich  bugs are backup jobs - i had to open and resubmit every backup job to get them work...<br />
br</p>
<p dir="auto">Mark</p>
]]></description><link>https://xcp-ng.org/forum/post/48078</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/48078</guid><dc:creator><![CDATA[markxc]]></dc:creator><pubDate>Sat, 02 Apr 2022 06:26:47 GMT</pubDate></item><item><title><![CDATA[Reply to ZTP Restore XOA From Backup on Fri, 01 Apr 2022 13:45:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/bnerickson" aria-label="Profile: bnerickson">@<bdi>bnerickson</bdi></a>, indeed, the configurations are correctly imported but plugins aren't automatically "configured" when you import a config. We'll improve that, thanks for the report <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/48057</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/48057</guid><dc:creator><![CDATA[pdonias]]></dc:creator><pubDate>Fri, 01 Apr 2022 13:45:18 GMT</pubDate></item><item><title><![CDATA[Reply to ZTP Restore XOA From Backup on Fri, 01 Apr 2022 07:18:04 GMT]]></title><description><![CDATA[<p dir="auto">Hmm let me ping <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> and/or <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/pdonias" aria-label="Profile: pdonias">@<bdi>pdonias</bdi></a></p>
<p dir="auto">I think configuration export should also save plugin configuration, if it's not the case it's indeed a missing feature <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/48038</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/48038</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 01 Apr 2022 07:18:04 GMT</pubDate></item><item><title><![CDATA[Reply to ZTP Restore XOA From Backup on Fri, 01 Apr 2022 03:28:10 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> .  It looks like the restore mostly worked.  There was one main issue:</p>
<p dir="auto">After I restored the configuration, all of the plugins I had had to manually configure when I first installed XOA (auth-ldap, transport-email, and usage-report) were all disabled.  When I tried to re-enable them, they failed with the "plugin not configured" error.  However, when I expanded their configuration, it was still present thanks to the restore.  What I had to do was manually change an arbitrary field in each plugin so that I could click the "Save Configuration" button.  Then I was able to re-enable the plugin.  Probably a bug I should report?</p>
]]></description><link>https://xcp-ng.org/forum/post/48035</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/48035</guid><dc:creator><![CDATA[bnerickson]]></dc:creator><pubDate>Fri, 01 Apr 2022 03:28:10 GMT</pubDate></item><item><title><![CDATA[Reply to ZTP Restore XOA From Backup on Thu, 31 Mar 2022 19:07:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<ol>
<li>When you deploy a fresh XOA, it's not registered. But if you import your backup config into it, this should do everything needed to be ready to go for updates</li>
<li>So after importing the configuration, you need to run the updater multiple times.</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/48032</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/48032</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 31 Mar 2022 19:07:36 GMT</pubDate></item></channel></rss>