Bug #119316 mysql shell dumpInstance to s3, support use_dualstack_endpoint from config profile
Submitted: 6 Nov 8:51
Reporter: Bernd Wahlen Email Updates:
Status: Open Impact on me:
None 
Category:Shell Dump & Load Severity:S3 (Non-critical)
Version:9.5.0 OS:Any
Assigned to: CPU Architecture:x86

[6 Nov 8:51] Bernd Wahlen
Description:
i use .aws/config file with the following content:

[profile backup]
output = json
region = us-west-2
s3 =
    use_dualstack_endpoint = true

which works fine with awscli.

in mysql shell backup via:

util.dumpInstance("/mysql/sql1/2025-11-05", {threads: 8, compression: "zstd;level=15", s3Profile: "backup", s3BucketName: "myproject-backup"});

is not working, because the dualstack from config file is ignored.

Server setup is ipv6 only, i have to override endpoint to get it working:

util.dumpInstance("/mysql/sql1/2025-11-05", {threads: 8, compression: "zstd;level=15", s3Profile: "backup", s3BucketName: "myproject-backup", s3EndpointOverride: "https://myproject-backup.s3.dualstack.us-west-2.amazonaws.com"});

How to repeat:
see description