Skip to content

Commit e01167b

Browse files
hfxsdOreoxmt
andauthored
Apply suggestions from code review
Co-authored-by: Aolin <aolinz@outlook.com>
1 parent 82550a0 commit e01167b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tidb-cloud/backup-and-restore.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -178,21 +178,21 @@ To apply a manual backup to your TiDB Cloud Dedicated cluster, perform the follo
178178

179179
### Export backups
180180

181-
<div label="Amazon S3">
182-
183-
To export a specific backup to cloud storage, such as and Google Cloud Storage, perform the following steps:
181+
To export a specific backup to cloud storage, such as Amazon S3 or Google Cloud Storage, follow the steps for your target storage provider.
184182

185183
<SimpleTab>
186184

187185
<div label="Amazon S3">
188186

187+
To export a backup to Amazon S3, perform the following steps:
188+
189189
1. Navigate to the [**Backup**](#view-the-backup-page) page of your cluster.
190190

191-
2. Locate the backup you want to export, and click **...** > **Export** in the **Action** column.
191+
2. Locate the backup you want to export, and then click **...** > **Export** in the **Action** column.
192192

193-
3. In the **Export Backup to Amazon S3** dialog, enter the **Folder URI**, and then select a bucket region for the backup bucket.
193+
3. In the **Export Backup to Amazon S3** dialog, enter the **Folder URI** field, and then select a bucket region for the backup bucket.
194194

195-
4. Click **Generate Command** to see the command for configuring permissions.
195+
4. Click **Generate Command** to view the command for configuring permissions.
196196

197197
- **With AWS CLI**:
198198

@@ -201,37 +201,37 @@ To export a specific backup to cloud storage, such as and Google Cloud Storage,
201201
- **With AWS Console**:
202202

203203
1. Navigate to the [Amazon S3 console](https://console.aws.amazon.com/s3/).
204-
2. Go to the bucket detail page, and then switch to the **Permissions** tab.
205-
3. Scroll down to **Bucket Policy**, and then click **Edit**.
204+
2. Open the target bucket details page, and then click the **Permissions** tab.
205+
3. Scroll to **Bucket policy**, and then click **Edit**.
206206
4. Copy the policy content from the generated command, and then paste it into the policy editor.
207-
5. Click **Save Changes**.
207+
5. Click **Save changes**.
208208

209209
5. Click **Export** to start the export process.
210210

211211
</div>
212212

213213
<div label="Google Cloud Storage">
214214

215-
To export a specific backup to Google Cloud Storage, perform the following steps:
215+
To export a backup to Google Cloud Storage, perform the following steps:
216216

217217
1. Navigate to the [**Backup**](#view-the-backup-page) page of your cluster.
218218

219219
2. Locate the backup you want to export, and then click **...** > **Export** in the **Action** column.
220220

221221
3. In the **Export Backup to Google Cloud Storage** dialog, note down the **Google Cloud Service Account ID**, which is required for a later step.
222222

223-
4. In the [Google Cloud console](https://console.cloud.google.com/), create a custom IAM role, or make sure that an existing role has the following permissions:
223+
4. In the [Google Cloud console](https://console.cloud.google.com/), create a custom IAM role with the following permissions. If you use an existing role, verify that it has these permissions.
224224

225225
- `storage.buckets.get`
226226
- `storage.objects.list`
227227
- `storage.objects.create`
228228
- `storage.objects.delete`
229229

230-
5. In **Cloud Storage** > **Buckets**, select the target bucket, and then go to **Permissions** > **Grant Access**.
230+
5. Go to **Cloud Storage** > **Buckets**, select the target bucket, and then click **Permissions** > **Grant Access**.
231231

232-
6. In **New principals**, enter the **Service Account ID** that you noted down in Step 3, select the role from Step 4, and then click **Save**.
232+
6. In **New principals**, enter the **Service Account ID** from step 3, assign the role from step 4, and then click **Save**.
233233

234-
7. Switch to the **Configuration** tab, copy the **gsutil URI**, and then paste it into the **Export Path** field in the **Export Backup to Google Cloud Storage** dialog. You can append a path suffix to the URI to create a subdirectory.
234+
7. Open the **Configuration** tab, copy the **gsutil URI**, and paste it into the **Export Path** field in the **Export Backup to Google Cloud Storage** dialog. To export to a subdirectory, append a path suffix to the URI.
235235

236236
8. Click **Export** to start the export process.
237237

0 commit comments

Comments
 (0)