【 TiDB 使用环境】生产环境
【 TiDB 版本】
tidb 版本 5.0.1
tiup 版本 1.11.0
br 版本 v6.3.0
【遇到的问题】tiup br backup full 备份数据到阿里云oss出现404
【复现路径】做过哪些操作出现的问题
tiup br backup full
【问题现象及影响】
【执行命令】
tiup br backup full \
--send-credentials-to-tikv=true \
--pd "127.0.0.1:2379" \
--storage "s3://xxx/xxx?access-key=xxxxx&secret-access-key=xxxx" \
--s3.endpoint "https://xxx.oss-cn-shenzhen-internal.aliyuncs.com" \
--s3.provider "alibaba" \
--s3.region "cn-shenzhen" \
--ratelimit 128 \
--log-file backuptable.log
返回错误信息
[2022/10/27 16:05:09.953 +08:00] [INFO] [collector.go:69] ["Full Backup failed summary"] [total-ranges=0] [ranges-succeed=0] [ranges-failed=0]
Error: failed to get region of bucket xxx: NotFound: Not Found
status code: 404, request id: xxxxx, host id:
阿里云oss请求日志
acc_access_region
:-
access_id
:xxxx
bucket
:xxxx
bucket_location
:oss-cn-shenzhen-q
bucket_storage_type
:standard
client_ip
:10.0.0.80
content_length_in
:-
content_length_out
:280
delta_data_size
:-
error_code
:NoSuchKey
extend_information
:-
host
:xxx.oss-cn-shenzhen-internal.aliyuncs.com
http_method
:HEAD
http_status
:404
http_type
:https
logging_flag
:-
object
:xxx
object_size
:-
operation
:HeadObject
owner_id
:xxxx
referer
:-
request_id
:xxxxx
request_length
:496
request_uri
:/xxx-xxHTTP/1.1
requester_id
:xxxx
response_body_length
:0
response_time
:17
restore_priority
:-
server_cost_time
:17
sign_type
:AwsSign4
sync_request
:-
time
:27/Oct/xxxx
user_agent
:aws-sdk-go/1.44.48 (go1.19.1; linux; amd64)
user_defined_log_fields
:-
vpc_addr
:xxx
vpc_id
:xxxx