Skip to content

Commit

Permalink
br: add s3 permission description
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Apr 12, 2021
1 parent ebe7a21 commit b38d34f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions br/use-br-command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ br restore full \

如果需要恢复的数据并不是存储在本地,而是在 Amazon 的 S3 后端,那么需要在 `storage` 子命令中指定 S3 的存储路径,并且赋予 BR 节点和 TiKV 节点访问 Amazon S3 的权限。

完成一次备份恢复需要的权限包括 `s3:ListBucket`, `s3:PutObject``s3:GetObject`

将有权限访问该 S3 后端存储的账号的 `SecretKey``AccessKey` 作为环境变量传入 BR 节点,并且通过 BR 将权限传给 TiKV 节点。

{{< copyable "shell-regular" >}}
Expand Down

0 comments on commit b38d34f

Please sign in to comment.