<?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[backblaze b2 &#x2F; amazon s3 as remote in xoa]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">have anyone done proper configuration of s3 backup and can confirm that it works correctly? I'm trying to config remote for backblaze b2 but all I get is an error</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1605796570702-9859fb61-fb75-449e-8a73-eb9a59936099-image.png" alt="9859fb61-fb75-449e-8a73-eb9a59936099-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1605796651891-f50c8f05-f495-4699-b1b5-2d795032354d-image.png" alt="f50c8f05-f495-4699-b1b5-2d795032354d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/topic/3848/backblaze-b2-amazon-s3-as-remote-in-xoa</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 03:11:57 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/3848.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Nov 2020 14:38:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Thu, 13 May 2021 19:55:35 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=1e2d7c4c493" class="not-responsive emoji emoji-android emoji--clap" style="height:23px;width:auto;vertical-align:middle" title=":clap:" alt="👏" /> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=1e2d7c4c493" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=1e2d7c4c493" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://xcp-ng.org/forum/post/39496</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/39496</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Thu, 13 May 2021 19:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Thu, 13 May 2021 10:51:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your feedback <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=1e2d7c4c493" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> is working on that <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="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/39486</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/39486</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 13 May 2021 10:51:13 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Thu, 13 May 2021 10:36:34 GMT]]></title><description><![CDATA[<p dir="auto">As an aside, using the same build I am also getting problems when running CR over a slower WAN, with the following error.  Just mentioning it here in case it's related.</p>
<pre><code>"message": "VDI_IO_ERROR(Device I/O errors)",
            "name": "XapiError",
            "stack": "XapiError: VDI_IO_ERROR(Device I/O errors)\n    at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202105081131/packages/xen-api/dist/_XapiError.js:26:12)\n    at _default (/opt/xo/xo-builds/xen-orchestra-202105081131/packages/xen-api/dist/_getTaskResult.js:24:38)\n    at Xapi._addRecordToCache (/opt/xo/xo-builds/xen-orchestra-202105081131/packages/xen-api/dist/index.js:761:51)\n    at /opt/xo/xo-builds/xen-orchestra-202105081131/packages/xen-api/dist/index.js:789:14\n    at Array.forEach (&lt;anonymous&gt;)\n    at Xapi._processEvents (/opt/xo/xo-builds/xen-orchestra-202105081131/packages/xen-api/dist/index.js:774:12)\n    at Xapi._watchEvents (/opt/xo/xo-builds/xen-orchestra-202105081131/packages/xen-api/dist/index.js:931:14)\n    at runMicrotasks (&lt;anonymous&gt;)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)"
          }
        }
      ],
      "end": 1620864312824,
      "result": {
        "message": "all targets have failed, step: writer.transfer()",
        "name": "Error",
        "stack": "Error: all targets have failed, step: writer.transfer()\n    at VmBackup._callWriters (/opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/backups/_VmBackup.js:118:13)\n    at runMicrotasks (&lt;anonymous&gt;)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async VmBackup._copyDelta (/opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/backups/_VmBackup.js:190:5)\n    at async VmBackup.run (/opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/backups/_VmBackup.js:371:9)"
</code></pre>
<p dir="auto">CR to a local machine is working fine, the remote one is failing every iteration.</p>
]]></description><link>https://xcp-ng.org/forum/post/39485</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/39485</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Thu, 13 May 2021 10:36:34 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Thu, 13 May 2021 10:33:04 GMT]]></title><description><![CDATA[<p dir="auto">New S3 function (albeit using Backblaze) seems to be working really well for small backups; I'm now seeing almost 100% success.</p>
<p dir="auto">However larger backups are consistently failing with</p>
<pre><code>"message": "Error calling AWS.S3.upload: aborted",
            "name": "Error",
            "stack": "Error: Error calling AWS.S3.upload: aborted\n    at rethrow (/opt/xo/xo-builds/xen-orchestra-202105081131/node_modules/@sullux/aws-sdk/index.js:254:24)\n    at runMicrotasks (&lt;anonymous&gt;)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async S3Handler._outputStream (/opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/fs/dist/s3.js:100:5)\n    at async S3Handler.outputStream (/opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/fs/dist/abstract.js:250:5)\n    at async RemoteAdapter.outputStream (/opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/backups/RemoteAdapter.js:509:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202105081131/@xen-orchestra/backups/writers/FullBackupWriter.js:69:7"
</code></pre>
<p dir="auto">Running with xo-server 5.79.3 , xo-web 5.81.0</p>
<p dir="auto">I'm having the same issue across different buckets in B2 and from different servers.</p>
<p dir="auto">Any ideas?</p>
]]></description><link>https://xcp-ng.org/forum/post/39484</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/39484</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Thu, 13 May 2021 10:33:04 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Sun, 28 Mar 2021 08:08:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> are working on it. That's why it's still called beta <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=1e2d7c4c493" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /> But we should have soon something on track.</p>
]]></description><link>https://xcp-ng.org/forum/post/37893</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37893</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 28 Mar 2021 08:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Sun, 28 Mar 2021 07:25:23 GMT]]></title><description><![CDATA[<p dir="auto">Is this still broken on all branches?<br />
It's a shame, it was working relatively fine when used carefully</p>
]]></description><link>https://xcp-ng.org/forum/post/37892</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37892</guid><dc:creator><![CDATA[yomono]]></dc:creator><pubDate>Sun, 28 Mar 2021 07:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Thu, 18 Mar 2021 11:21:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Getting the "not implemented" error on all branches at the moment - is there a functioning, albeit not perfect branch that we can run with as a temporary measure? Thanks chap</p>
]]></description><link>https://xcp-ng.org/forum/post/37605</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37605</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Thu, 18 Mar 2021 11:21:08 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 12 Mar 2021 22:45:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> Ah sorry, I think S3 is completely broken at the moment.</p>
]]></description><link>https://xcp-ng.org/forum/post/37508</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37508</guid><dc:creator><![CDATA[nraynaud]]></dc:creator><pubDate>Fri, 12 Mar 2021 22:45:57 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 12 Mar 2021 17:34:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Bit of a hiccup I'm afraid ; errors out with "Not Implemented":</p>
<pre><code>{
  "data": {
    "mode": "full",
    "reportWhen": "failure"
  },
  "id": "1615570162008",
  "jobId": "b947a31c-35f7-45d9-af88-628ec027c71e",
  "jobName": "B2",
  "message": "backup",
  "scheduleId": "8481e1b8-3d22-4502-abb7-9f0413aca0a3",
  "start": 1615570162008,
  "status": "pending",
  "infos": [
    {
      "data": {
        "vms": [
          "25a4e2a6-b116-7cee-b94b-f3553fe001f2",
          "24103ce1-e47b-fe12-4029-d643e0382f08",
          "60ac886d-8adf-9e21-4baa-b14e0fc1b2bb"
        ]
      },
      "message": "vms"
    }
  ],
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "25a4e2a6-b116-7cee-b94b-f3553fe001f2"
      },
      "id": "1615570162050",
      "message": "backup VM",
      "start": 1615570162050,
      "status": "pending",
      "tasks": [
        {
          "id": "1615570162064",
          "message": "snapshot",
          "start": 1615570162064,
          "status": "success",
          "end": 1615570163265,
          "result": "294d65fc-ddc7-b8ad-68b8-d14e36b6838e"
        },
        {
          "data": {
            "id": "df07dd6b-753e-40f2-89be-75404bac2c1e",
            "type": "remote",
            "isFull": true
          },
          "id": "1615570163286",
          "message": "export",
          "start": 1615570163286,
          "status": "failure",
          "tasks": [
            {
              "id": "1615570164234",
              "message": "transfer",
              "start": 1615570164234,
              "status": "failure",
              "end": 1615570164257,
              "result": {
                "message": "Not implemented",
                "name": "Error",
                "stack": "Error: Not implemented\n    at S3Handler._createWriteStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/fs/src/abstract.js:428:11)\n    at S3Handler._createOutputStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/fs/src/abstract.js:412:25)\n    at S3Handler.createOutputStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/fs/src/abstract.js:129:12)\n    at RemoteAdapter.outputStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/RemoteAdapter.js:513:34)\n    at /opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/_FullBackupWriter.js:70:7\n    at FullBackupWriter.run (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/_FullBackupWriter.js:69:5)\n    at Array.&lt;anonymous&gt; (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/_VmBackup.js:209:9)"
              }
            }
          ],
          "end": 1615570164258,
          "result": {
            "message": "Not implemented",
            "name": "Error",
            "stack": "Error: Not implemented\n    at S3Handler._createWriteStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/fs/src/abstract.js:428:11)\n    at S3Handler._createOutputStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/fs/src/abstract.js:412:25)\n    at S3Handler.createOutputStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/fs/src/abstract.js:129:12)\n    at RemoteAdapter.outputStream (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/RemoteAdapter.js:513:34)\n    at /opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/_FullBackupWriter.js:70:7\n    at FullBackupWriter.run (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/_FullBackupWriter.js:69:5)\n    at Array.&lt;anonymous&gt; (/opt/xo/xo-builds/xen-orchestra-202103121606/@xen-orchestra/backups/_VmBackup.js:209:9)"
          }
        }
      ]
    }
  ]
}

</code></pre>
<p dir="auto">I'll try over the weekend with a fresh install.  Backing up to Backblaze B2 rather than S3 - likely to be the issue?</p>
]]></description><link>https://xcp-ng.org/forum/post/37505</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37505</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Fri, 12 Mar 2021 17:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 12 Mar 2021 14:32:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> thanks. If you could just try no concurrency as a proof that the code work, then your normal concurrency, to check if the issue is fixed that would be great.</p>
<p dir="auto">This code is meant to be more vulnerable to losing the connection to S3, but I think it's a low risk. It's now using straight HTTP POST.</p>
]]></description><link>https://xcp-ng.org/forum/post/37501</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37501</guid><dc:creator><![CDATA[nraynaud]]></dc:creator><pubDate>Fri, 12 Mar 2021 14:32:13 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 12 Mar 2021 14:19:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Building XO now; will run a few backups overnight.</p>
<p dir="auto">Anything in particular you'd like me to look for / test ?</p>
]]></description><link>https://xcp-ng.org/forum/post/37499</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37499</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Fri, 12 Mar 2021 14:19:40 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 12 Mar 2021 13:02:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> I would like to abuse your patience again, by asking you to test this branch:  <a href="https://github.com/vatesfr/xen-orchestra/tree/nr-s3-fix-big-backups2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vatesfr/xen-orchestra/tree/nr-s3-fix-big-backups2</a></p>
<p dir="auto">The concept is that the backup upload will happen without any sort of smart upload system or queue.</p>
<p dir="auto">Thank you, Nico</p>
]]></description><link>https://xcp-ng.org/forum/post/37494</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/37494</guid><dc:creator><![CDATA[nraynaud]]></dc:creator><pubDate>Fri, 12 Mar 2021 13:02:36 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Mon, 22 Feb 2021 06:42:15 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the feeback <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> !</p>
]]></description><link>https://xcp-ng.org/forum/post/36890</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36890</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 22 Feb 2021 06:42:15 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Sun, 21 Feb 2021 22:42:07 GMT]]></title><description><![CDATA[<p dir="auto">Ok, spent weekend having backups running continuously across a number of boxes.</p>
<p dir="auto">Good news - the fix seems to have solved things, <strong>providing</strong> one only ever uses concurrency “1” and there are no conflicting or overlapping backups.</p>
<p dir="auto">Restores are working fine for me too.</p>
<p dir="auto">In short <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> - it’s a substantial improvement and for me makes this now usable. A huge thank you.</p>
]]></description><link>https://xcp-ng.org/forum/post/36881</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36881</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Sun, 21 Feb 2021 22:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Sat, 20 Feb 2021 13:13:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Removing any concurrency seems to be effective; certainly a substantial improvement upon the original backup prior to your amendments.</p>
<p dir="auto">We have managed to get things to run pretty much every time now, by running with concurrency set to '1' and being careful on the timing to ensure no other backups accidentally run in parallel.</p>
<p dir="auto">Have checked a couple of restores and they seem to be ok too.</p>
<p dir="auto">Only thing I would highlight is that now I am not getting the failures, I cannot tell if the issue on the remote when recovering from a partial/failed backup is resolved.  I guess this needs me to pull a plug on the network whilst back up is running but I would need to test this on a different machine in the lab rather than where we're running at the moment.</p>
]]></description><link>https://xcp-ng.org/forum/post/36831</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36831</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Sat, 20 Feb 2021 13:13:30 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 19 Feb 2021 19:26:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> thanks, I'm a bit lost, I will read on the node.js Agent class.</p>
]]></description><link>https://xcp-ng.org/forum/post/36823</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36823</guid><dc:creator><![CDATA[nraynaud]]></dc:creator><pubDate>Fri, 19 Feb 2021 19:26:37 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 19 Feb 2021 16:47:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Bizarre isn't it; I'm so very grateful for your efforts.</p>
<p dir="auto">Some more news - it seems that one big challenge is around concurrency - things improve dramatically if concurrency is set to 1.  As soon as something else is running in parallel, we run into the socket failures.  I'm expanding things to try your change on another box to see if the outcomes are different - but in summary what I'm seeing so far:</p>
<ul>
<li>Concurrency = 1 - works fine first time, fails occasionally (20% of the time?) thereafter</li>
<li>Concurrency &gt; 1 - almost impossible to get it to run, but sometimes one or two VMs backup ok but not enough to be predictable and never the entire group</li>
<li>Anything fails - impossible to get a clean run again until the S3 target has been cleaned entirely</li>
</ul>
<p dir="auto">So it appears that somewhere there perhaps is a lock occurring when more than one stream is running, and additionally there's some kind of conflict when things have terminated prematurely and the target is therefore not in its expected state on the next run.</p>
]]></description><link>https://xcp-ng.org/forum/post/36810</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36810</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Fri, 19 Feb 2021 16:47:03 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Fri, 19 Feb 2021 10:46:05 GMT]]></title><description><![CDATA[<p dir="auto">Thank you all. I would have never guessed that uploading a file over http would be this hard. I'll dig deeper.</p>
]]></description><link>https://xcp-ng.org/forum/post/36780</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36780</guid><dc:creator><![CDATA[nraynaud]]></dc:creator><pubDate>Fri, 19 Feb 2021 10:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Thu, 18 Feb 2021 14:12:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Unfortunately after a good start I'm now seeing AWS.S3.upload socket hang up errors:</p>
<pre><code>                "message": "Error calling AWS.S3.upload: socket hang up",
                "name": "Error",
                "stack": "Error: Error calling AWS.S3.upload: socket hang up\n    at rethrow (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/@sullux/aws-sdk/webpack:/lib/proxy.js:114:1)\n    at tryCatcher (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/promise.js:547:31)\n    at Promise._settlePromise (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/promise.js:604:18)\n    at Promise._settlePromise0 (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/promise.js:649:10)\n    at Promise._settlePromises (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/promise.js:725:18)\n    at _drainQueueStep (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/async.js:93:12)\n    at _drainQueue (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/async.js:86:9)\n    at Async._drainQueues (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/async.js:102:5)\n    at Immediate.Async.drainQueues [as _onImmediate] (/opt/xo/xo-builds/xen-orchestra-202102171611/node_modules/bluebird/js/release/async.js:15:14)\n    at processImmediate (internal/timers.js:461:21)"
              }
</code></pre>
<p dir="auto">This is not occurring for all the VMs being uploaded, usually only for one out of the three.  The tasks then stays open and runs until the timeout after 3 hours, despite normally taking about 30 minutes for this particular batch.</p>
<p dir="auto">After 3 successful runs, this has now occurred each time on the following 3 runs.  I am going to clear out the target completely and see if that makes any difference.  (Note that I am using BackBlaze B2 not AWS.). Let me know if you want me to send you the full log or an extract of SMlog or anything else.</p>
<p dir="auto">To <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/dustinb" aria-label="Profile: DustinB">@<bdi>DustinB</bdi></a>'s point above, I have tried one restore and it came up fine, but please don't consider this a full and comprehensive test.</p>
]]></description><link>https://xcp-ng.org/forum/post/36741</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36741</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Thu, 18 Feb 2021 14:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Wed, 17 Feb 2021 18:40:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/dustinb" aria-label="Profile: dustinb">@<bdi>dustinb</bdi></a> Concur 100%; my current focus is on confirming the error doesn't reoccur and understanding the change in what I'm seeing compared with previous backups, before this goes into production I 100% agree it should be tested for restores. I shall do so myself once I've got confidence that the symptom has been resolved.</p>
]]></description><link>https://xcp-ng.org/forum/post/36703</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36703</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Wed, 17 Feb 2021 18:40:50 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Wed, 17 Feb 2021 18:36:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> Just a point, don't forget to test your restoration as well.</p>
<p dir="auto">Making a backup is only half of having working backups.</p>
]]></description><link>https://xcp-ng.org/forum/post/36699</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36699</guid><dc:creator><![CDATA[DustinB]]></dc:creator><pubDate>Wed, 17 Feb 2021 18:36:15 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Wed, 17 Feb 2021 18:35:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> Ok, so far so good; haven't had a timeout yet.  However the backups are reported as being much much smaller ; overall cumulative size has dropped from over 20gb to under 5gb, which would avoid the problem in any case.</p>
<p dir="auto">There are no changes to the settings (zstd, normal snapshot without memory), all I can think of is that maybe there were a lot of resends resulting in the large data size being reported within XO, but unless I've picked up a much improved algorithm by building that commit compared with the released branch, I'm a little confused.</p>
<p dir="auto">I will take a look at the size of the actual backups as held on the remote (Backblaze B2) compared with the reported size in XO to see if I can substantiate the above paragraph.</p>
<p dir="auto">Meanwhile, I'll keep running backups to soak test it but so far we're looking good!</p>
]]></description><link>https://xcp-ng.org/forum/post/36698</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36698</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Wed, 17 Feb 2021 18:35:53 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Tue, 16 Feb 2021 22:38:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nraynaud" aria-label="Profile: nraynaud">@<bdi>nraynaud</bdi></a> superb! I can’t get into this until tomorrow evening but will be on it as soon as I can. Bear with....</p>
]]></description><link>https://xcp-ng.org/forum/post/36651</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36651</guid><dc:creator><![CDATA[shorian]]></dc:creator><pubDate>Tue, 16 Feb 2021 22:38:08 GMT</pubDate></item><item><title><![CDATA[Reply to backblaze b2 &#x2F; amazon s3 as remote in xoa on Tue, 16 Feb 2021 15:43:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/shorian" aria-label="Profile: shorian">@<bdi>shorian</bdi></a> I forget if you're building from sources, would you mind trying this code with a small amount of memory ? <a href="https://github.com/vatesfr/xen-orchestra/pull/5579" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vatesfr/xen-orchestra/pull/5579</a> ?</p>
<p dir="auto">I removed the keepalive in there.</p>
<div class="row github-embeds-container">

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


<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/46941?v=4" title="nraynaud" />
<a href="https://github.com/nraynaud"><span class="username">nraynaud</span></a> opened this pull request <span class="timeago" title="2021-02-16T15:41:37Z"></span> in <a href="//github.com/vatesfr/xen-orchestra">vatesfr/xen-orchestra</a>
</div>
<h3>

<span class="badge open float-end">open</span>

<a href="https://github.com/vatesfr/xen-orchestra/pull/5579">WiP: try to fix S3 network issues on big backups</a>
<span class="number">#5579</span>
</h3>


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

</div>]]></description><link>https://xcp-ng.org/forum/post/36638</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/36638</guid><dc:creator><![CDATA[nraynaud]]></dc:creator><pubDate>Tue, 16 Feb 2021 15:43:05 GMT</pubDate></item></channel></rss>