Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 475 Bytes

gcs.md

File metadata and controls

19 lines (15 loc) · 475 Bytes

Google Cloud Storage

Export

To export snapshot and incremental data of a TiDB Table to Google Cloud Storage:

./tidb2dw gcs \
    --storage gs://my-demo-bucket/prefix \
    --table <database_name>.<table_name> \
    --credentials-file-path <google_credentials_json_file_path>

# 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.