Open henryx opened 2 months ago
@henryx the documentation says
The repo2-s3-uri-style option [should be set to path ](https://pgbackrest.org/configuration.html#section-repository/option-repo-s3-uri-style) if you use S3-compatible storage (otherwise you might see “host not found error” in your backup job logs), and is not needed for Amazon S3.
https://docs.percona.com/percona-operator-for-postgresql/2.0/backups-storage.html
can i work on this?
Report
Pgbackrest cannot perform a backup to S3 because the endpoint address is generated in a wrong way
More about the problem
Reported logs is here:
Steps to reproduce
Create a secret with S3 credentials
Create a cluster instance via Helm specifying a custom S3 endpoint:
Versions
Anything else?
According to the logs, it seems that S3 endpoint is constructed as
{bucket}.{endpoint}
instead of{endpoint}/{bucket}