Dumpling Backup Failure

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: dumpling备份失败

| username: TiDBer_C33

[TiDB Usage Environment] Test
[TiDB Version] v4.0.10
[Reproduction Path] What operations were performed to encounter the issue
Operation Command:
./dumpling -uxx -p ‘’ -P 4000 -h xx -r 200000 --s3.endpoint ‘http://xxx.co’ --s3.region=“mysql_backup” -o “s3://mysql_backup/xxx”
[Encountered Issue: Phenomenon and Impact]

  1. When using dumpling version v6.5.9 for backup, an error occurs: create dumper failed: s3 bucket and region are not matched, bucket=mysql_backup, input region=mysql_backup, real region=us-east-1
  2. When using the same version of dumpling v4.0.10 for backup, no error occurs

[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachment: Screenshot/Log/Monitoring]

| username: WalterWj | Original post link

The error seems to be a mismatch between the bucket and the region.
Try verifying with a command like this: aws s3 ls s3://mysql_backup --region us-east-1