Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Mar 28, 2024
1 parent 1fe8248 commit 283c15d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tidb-cloud/serverless-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ You can also export data with `mysqldump`, `TiDB Dumpling`, or other tools. Howe
## Export to local

When you export to local, there are some limitations:

1. You can only export one table at a time.
2. The exported data will be expired after two days, please download the data in time.
3. The exported data will be saved in the stashing area, which offers 250 GB storage space for each organization per region. If the storage space is full, you will not be able to export data to local.
Expand Down Expand Up @@ -66,14 +67,14 @@ You can export data directly to your own S3 bucket with the credentials.

1. Export all data from a TiDB Serverless cluster to S3.

```sh
ticloud serverless export create -c <cluster-id> --bucket-uri <bucket-uri> --access-key-id <access-key-id> --secret-access-key <secret-access-key>
```
```sh
ticloud serverless export create -c <cluster-id> --bucket-uri <bucket-uri> --access-key-id <access-key-id> --secret-access-key <secret-access-key>
```
2. Export from a TiDB Serverless cluster to S3 with SQL file.

```sh
ticloud serverless export create -c <cluster-id> --bucket-uri <bucket-uri> --access-key-id <access-key-id> --secret-access-key <secret-access-key> --file-type SQL
```
```sh
ticloud serverless export create -c <cluster-id> --bucket-uri <bucket-uri> --access-key-id <access-key-id> --secret-access-key <secret-access-key> --file-type SQL
```

You can also use the cli with interactive mode.

Expand Down

0 comments on commit 283c15d

Please sign in to comment.