endpoint不知道可以看下这个地址
使用tiup备份
tiup br backup full --pd "pd01:2379" --storage "s3://tidb/backup?access-key=AK&secret-access-key=SK" --s3.endpoint="https://obs.cn-north-9.myhuaweicloud.com" --send-credentials-to-tikv=true --ratelimit 128 --log-file backuptable.log
恢复
tiup br restore full --pd "pd01:2379" --storage "s3://tidb/backup?access-key=AK&secret-access-key=SK" --s3.endpoint="https://obs.cn-north-9.myhuaweicloud.com" --send-credentials-to-tikv=true --ratelimit 128 --log-file restorefull.log