To export snapshot and incremental data of a TiDB Table to AWS S3:
export AWS_ACCESS_KEY_ID=<ACCESS_KEY>
export AWS_SECRET_ACCESS_KEY=<SECRET_KEY>
export AWS_SESSION_TOKEN=<SESSION_TOKEN> # Optional
./tidb2dw s3 \
--storage s3://my-demo-bucket/prefix \
--table <database_name>.<table_name>
# Note that you may also need to specify these parameters:
# --cdc.host x.x.x.x
# --tidb.host x.x.x.x
# --tidb.user <user>
# --tidb.pass <pass>
# Use --help for details.