-
Notifications
You must be signed in to change notification settings - Fork 704
[pingcap/tidb#46609] support s3 profile for dumpling #21456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
4636869
075514a
4b35d6b
2319931
15d0dd7
511f7cf
870cc2c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,12 +233,20 @@ export AWS_ACCESS_KEY_ID=${AccessKey} | |
export AWS_SECRET_ACCESS_KEY=${SecretKey} | ||
``` | ||
|
||
Dumpling also supports reading credential files from `~/.aws/credentials`. For more information about URI parameter descriptions, see [URI Formats of External Storage Services](/external-storage-uri.md). | ||
Dumpling also supports reading credential files from `~/.aws/credentials` and authenticating with AWS profiles. For more information about URI parameter descriptions, see [URI Formats of External Storage Services](/external-storage-uri.md). | ||
|
||
To use the default credentials from `~/.aws/credentials`: | ||
|
||
```shell | ||
tiup dumpling -u root -P 4000 -h 127.0.0.1 -r 200000 -o "s3://${Bucket}/${Folder}" | ||
``` | ||
|
||
To use a specific AWS profile: | ||
|
||
```shell | ||
tiup dumpling -u root -P 4000 -h 127.0.0.1 -r 200000 -o "s3://${Bucket}/${Folder}" --s3.profile=my.profile | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the code PR pingcap/tidb#62199 the format should be
Can you double check There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes it was noted merged PR description |
||
``` | ||
|
||
### Filter the exported data | ||
|
||
#### Use the `--where` option to filter data | ||
|
Uh oh!
There was an error while loading. Please reload this page.