I just installed Duplicati 2.0.8.1 on Ubuntu 22.04 LTS and tried to create a backup with Cloudflare R2 as the destination.
I click “Test Connection” and am presented with the following message:
The bucket name should start with your username, prepend automatically?
I selected No - Cloudflare does not require the username to be prepended - in fact, if I select yes, the connection fails.
When I select No, the test is successful - I get the message:
Connection worked!
Per Add support for cloudflare R2 #4673, I added two options under “Advanced Options”
s3-disable-chunked-encoding
s3-ext-disablehostprefixinjection
I tried running the backup job and kept getting an error message - the same 501 not implemented error I was getting when I first started this thread in December 2022.
I went back through and reviewed the settings - I realized there were two checkboxes next to each of the advanced options that were unchecked. I would have thought simply adding the options from the drop-down select would have done the trick, but I guess not?
I checked both boxes, then saved the backup settings and tried to run the backup again… It worked!
I’m still very new to Duplicati. I haven’t spent any time with it since I originally started this thread. Now that I know this works - I’ll be using Duplicati a lot more often!
Thanks to everyone that collaborated to get this working!