TL;DR: Please add an option to the UI to set the ForcePathStyle
option in the config for S3 backups.
OS Name/Version: Debian 12 (bookworm)
Product Name/Version: AMP Release “Decadeus” v2.4.8, built 29/01/2024 18:40
Problem Description:
When I try to create a backup the S3 upload step fails with the following error:
AmazonServiceException
[0] (AmazonServiceException) : A WebException with status NameResolutionFailure was thrown.
A simple search led to this StackOverflow topic: amazon s3 - C# Minio PutBucket Request: A WebException with status NameResolutionFailure was thrown - Stack Overflow
This says that to use a Minio instance you need to set the ForcePathStyle
parameter to true
.
The parameter is set via the AmazonS3Config object. Can you please add an option to the UI to set this parameter?
Steps to reproduce:
- Step 1 Create a minio instance (Deploy MinIO: Single-Node Single-Drive — MinIO Object Storage for Container has instructions)
- Step 2 Create a bucket and set the details (using a domain for the endpoint, a raw IP address will automatically fall back to path style access) in the AMP S3 backup config
- Step 3 Trigger a backup
Actions taken to resolve so far:
I looked at how to setup Minio to support DNS style access (Core Settings — MinIO Object Storage for Linux for details) and while I might be able to set that up I still think the option would be useful. Some setups such as DDNS might not allow for wildcard subdomains or wildcard subdomain certificates or some providers might not support DNS style addressing.