phpbu icon indicating copy to clipboard operation
phpbu copied to clipboard

Consider extending Amazon S3 sync support to other S3-compatible providers

Open petecooper opened this issue 5 months ago • 1 comments

As I understand it, PHPBU offers native support for Amazon S3, with option name="region" providing the S3 entry point.

Please consider extending S3 sync support to include S3-compatible providers (e.g. DigitalOcean Spaces, Backblaze B2, Cloudflare R2 etc).

As I understand it, the Amazon S3 entry points stub / suffix is assumed, given that only the region option is needed. Perhaps option name="s3Entrypoint" value="https://s3-compatible.example.com/region/" or similar could be used, which could override the Amazon-ness of the S3 sync defaults.

Thank you for your consideration.

petecooper avatar May 31 '25 10:05 petecooper

I guess it's already supported but not properly documented.

Koc avatar Jun 20 '25 22:06 Koc

Yes exactly. I will add this to the documentation to make it a bit more clear.

sebastianfeldmann avatar Jun 22 '25 15:06 sebastianfeldmann

Done ✅ https://phpbu.de/manual/current/en/sync.html#sync.amazon

sebastianfeldmann avatar Jun 22 '25 16:06 sebastianfeldmann

Thank you very much @sebastianfeldmann - I appreciate your time and effort.

petecooper avatar Jun 22 '25 16:06 petecooper