![]() I'd be happy to debug further if someone could give me a pointer on how to see the specific s3 API calls Duplicati is making. R2 has an incomplete implementation of the S3 protocol as documented here, and my guess is that Duplicati's s3 client sets configuration options that it doesn't (yet?) support. Third, once I'd set up the configuration correctly and tried running a backup, the Cloudflare server quickly returned (501) Not Implemented. Moving the use-ssl flag into the main menu would be a big help to anyone trying to work with custom S3 backends. The purpose of Duplicati is for backing up and restoring data securely, which meets my need. Rackspace Cloud Files, HubiC, Backblaze (B2), Amazon Cloud Drive (AmzCD), Swift / OpenStack. It took me considerable trial and error plus skimming Duplicati's source code to realize that a) "custom server url" needs to be a hostname (i.e., without the scheme prefix, b) the s3 storage type uploads over plaintext http by default and the use-ssl flag is buried in the advanced menu. 1-Click installation template for Duplicati on Easypanel. Second, Cloudflare's R2 API requires TLS. I just tried configuring Cloudflare R2 with the S3 compatible storage type, and ran into a series of problems.įirst of all, Cloudflare's S3 endpoint is so adding it to the S3 drop-down wouldn't be feasible unless Duplicati can dynamically add a field for the account ID. Anybody who can translate that into potential for API costs on Cloudflare R2 is invited to comment on the chances of charges. Duplicati is a free, open-source backup program that runs on Windows, macOS, and Linux. ![]() ![]() Duplicati does uploads, downloads, lists, and deletes. I don't use S3, and I am not expert in S3 pricing or what makes an API call. This may or may not be an actual problem, as you might hit some other limit (such as speed of file transfers) before an API limit. The AWS SDK has a lot of options, shown in the Advanced options dropdown, but I'm not finding one talking about throttling. I'm not sure how possible limiting the requests per second is, unless Amazon's or Minio's libraries (used here) can support that. Cloudflare R2 was announced in September 2021 as an S3-compatible service, but it doesn't appear to be generally available yet.įor S3 compatible services, Duplicati generally uses the S3 Compatible storage type plus a Server dropdown for common ones.Īdding another would probably be pretty simple if you know what to use, but maybe Custom server url would also work fine.
0 Comments
Leave a Reply. |