Skip to content

Commit 20e636b

Browse files
committed
Corrections
1 parent 0975e35 commit 20e636b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/current/_includes/cockroachcloud/backups/cloud-api-managed-backup-intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if page.name == "managed-backups-basic.md" %}
2-
You can use the [CockroachDB Cloud API]({% link cockroachcloud/cloud-api.md %}) to [view managed backups](#view-managed-backups) or [restore clusters/databases/tables](#restore-a-managed-backup) from a managed backup.
2+
You can use the [CockroachDB Cloud API]({% link cockroachcloud/cloud-api.md %}) to [view managed backups](#view-managed-backups) or [restore clusters/databases/tables](#restore-from-a-managed-backup) from a managed backup.
33
{% else %}
4-
You can use the [CockroachDB Cloud API]({% link cockroachcloud/cloud-api.md %}) to [view](#get-information-on-backup-settings) and [modify managed backup settings](#modify-backup-settings-on-a-cluster), [view managed backups](#view-managed-backups), or [restore clusters/databases/tables](#restore-a-managed-backup) from a managed backup.
4+
You can use the [CockroachDB Cloud API]({% link cockroachcloud/cloud-api.md %}) to [view](#get-information-on-backup-settings) and [modify managed backup settings](#modify-backup-settings-on-a-cluster), [view managed backups](#view-managed-backups), or [restore clusters/databases/tables](#restore-from-a-managed-backup) from a managed backup.
55
{% endif %}
66

77
{{site.data.alerts.callout_info}}

src/current/_includes/cockroachcloud/backups/cloud-api-restore-endpoint.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Restore a managed backup
1+
### Restore from a managed backup
22

33
You can use the `/v1/clusters/{cluster_id}/restores` endpoint to restore the contents of a managed backup at the cluster, database, or table level.
44

@@ -11,7 +11,7 @@ On Standard and Basic clusters, restore operations can only be performed into th
1111
#### Restore a cluster
1212

1313
{{site.data.alerts.callout_danger}}
14-
The restore completely erases all data in the destination cluster. All cluster data is replaced with the data from the backup. The destination cluster will be unavailable while the job is in progress.
14+
The restore operation completely erases all data in the destination cluster. All cluster data is replaced with the data from the backup. The destination cluster will be unavailable while the job is in progress.
1515

1616
This operation is disruptive and is to be performed with caution. Use the [Principle of Least Privilege (PoLP)](https://wikipedia.org/wiki/Principle_of_least_privilege) as a golden rule when designing your system of privilege grants.
1717
{{site.data.alerts.end}}
@@ -73,7 +73,7 @@ If the request was successful, the client will receive a response containing JSO
7373

7474
#### Restore a database
7575

76-
To restore a managed backup of a database to a cluster, send a `POST` request to the `/v1/clusters/{cluster_id}/restores` endpoint of `"type": "DATABASE"`. Specify the name of the source database in `objects.database`:
76+
To restore a database from a managed backup to a cluster, send a `POST` request to the `/v1/clusters/{cluster_id}/restores` endpoint of `"type": "DATABASE"`. Specify the name of the source database in `objects.database`:
7777

7878
{% include_cached copy-clipboard.html %}
7979
~~~ shell
@@ -90,7 +90,7 @@ curl --request POST \
9090
}'
9191
~~~
9292

93-
By default the database will be restored into the original database name from the cluster backup. To restore the database contents into a new database, include the field `restore_opts.new_db_name` with the new database name:
93+
By default the database will be restored into the original database name from the managed backup. To restore the database contents into a new database, include the field `restore_opts.new_db_name` with the new database name:
9494

9595
{% include_cached copy-clipboard.html %}
9696
~~~ shell
@@ -110,7 +110,7 @@ curl --request POST \
110110
}'
111111
~~~
112112

113-
To restore a specific backup rather than the most recently created managed backup, include the `backup_id` field specifying a backup ID:
113+
To restore from a specific backup rather than the most recently created managed backup, include the `backup_id` field specifying a backup ID:
114114

115115
{% include_cached copy-clipboard.html %}
116116
~~~ shell
@@ -165,7 +165,7 @@ If the request was successful, the client will receive a response containing JSO
165165

166166
#### Restore a table
167167

168-
To restore a managed backup of a table to a cluster, send a `POST` request to the `/v1/clusters/{cluster_id}/restores` endpoint of `"type": "DATABASE"`. Specify the fully qualified name of the source database in `objects`:
168+
To restore a table from a managed backup to a cluster, send a `POST` request to the `/v1/clusters/{cluster_id}/restores` endpoint of `"type": "TABLE"`. Specify the fully qualified name of the source table in `objects`:
169169

170170
{% include_cached copy-clipboard.html %}
171171
~~~ shell
@@ -184,7 +184,7 @@ curl --request POST \
184184
}'
185185
~~~
186186

187-
By default the table will be restored into the original database name from the cluster backup. To restore the table into a different database, include the field `restore_opts.into_name` with the database name. The following example restores the `tpcc.public.warehouse` table from the most recent managed backup into `tpcc2.public.warehouse` on the cluster:
187+
By default the table will be restored into the original database name from the managed backup. To restore the table into a different database, include the field `restore_opts.into_name` with the desired database name. The following example restores the `tpcc.public.warehouse` table from the most recent managed backup into `tpcc2.public.warehouse` on the cluster:
188188

189189
{% include_cached copy-clipboard.html %}
190190
~~~ shell
@@ -206,7 +206,7 @@ curl --request POST \
206206
}'
207207
~~~
208208

209-
To restore a specific backup rather than the most recently created managed backup, include the `backup_id` field specifying a backup ID:
209+
To restore from a specific backup rather than the most recently created managed backup, include the `backup_id` field specifying a backup ID:
210210

211211
{% include_cached copy-clipboard.html %}
212212
~~~ shell

0 commit comments

Comments
 (0)