You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/current/_includes/cockroachcloud/backups/cloud-api-managed-backup-intro.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{% 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.
3
3
{% 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.
Copy file name to clipboardExpand all lines: src/current/_includes/cockroachcloud/backups/cloud-api-restore-endpoint.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
### Restore a managed backup
1
+
### Restore from a managed backup
2
2
3
3
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.
4
4
@@ -11,7 +11,7 @@ On Standard and Basic clusters, restore operations can only be performed into th
11
11
#### Restore a cluster
12
12
13
13
{{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.
15
15
16
16
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.
17
17
{{site.data.alerts.end}}
@@ -73,7 +73,7 @@ If the request was successful, the client will receive a response containing JSO
73
73
74
74
#### Restore a database
75
75
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`:
77
77
78
78
{% include_cached copy-clipboard.html %}
79
79
~~~shell
@@ -90,7 +90,7 @@ curl --request POST \
90
90
}'
91
91
~~~
92
92
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:
94
94
95
95
{% include_cached copy-clipboard.html %}
96
96
~~~shell
@@ -110,7 +110,7 @@ curl --request POST \
110
110
}'
111
111
~~~
112
112
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:
114
114
115
115
{% include_cached copy-clipboard.html %}
116
116
~~~shell
@@ -165,7 +165,7 @@ If the request was successful, the client will receive a response containing JSO
165
165
166
166
#### Restore a table
167
167
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`:
169
169
170
170
{% include_cached copy-clipboard.html %}
171
171
~~~shell
@@ -184,7 +184,7 @@ curl --request POST \
184
184
}'
185
185
~~~
186
186
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:
188
188
189
189
{% include_cached copy-clipboard.html %}
190
190
~~~shell
@@ -206,7 +206,7 @@ curl --request POST \
206
206
}'
207
207
~~~
208
208
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:
0 commit comments