【 TiDB 使用环境】生产环境
【 TiDB 版本】8.1.1
路径为:otidb-backup-1275/test/20241129/restockin
恢复命令为
/root/.tiup/components/br/v8.1.1/br restore table --pd “10.50.xx.xx:2379” --db “sc_restocking” --table “mapping_warehouse” --storage “s3://otidb-backup-1275/test/20241129/restockin?access-key=${access}&secret-access-key=${secret}” --s3.provider tencent --s3.endpoint "http://otidb-backup-1275/test/20241129/restockin.cos.ap-guangzhou.myqcloud.com
提示:
Error: load backupmeta failed: failed to read s3 file, file info: input.bucket=‘otidb-backup-1275/test/20241129/restockin’, input.key=‘test/20241129/restockin/backupmeta’: NoSuchKey: The specified key does not exist.
status code: 404
但是实际检查 这个路径下是有这个文件的backupmeta