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: _api-reference/snapshots/get-snapshot.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
layout: default
3
-
title: Get Snapshot
3
+
title: Get snapshot
4
4
parent: Snapshot APIs
5
5
nav_order: 6
6
6
---
7
7
8
-
# Get snapshot.
8
+
# Get snapshot
9
9
**Introduced 1.0**
10
10
{: .label .label-purple }
11
11
@@ -28,8 +28,8 @@ GET _snapshot/<repository>/<snapshot>/
28
28
29
29
| Parameter | Data type | Description |
30
30
:--- | :--- | :---
31
-
| verbose | Boolean |Whether to show all, or just basic snapshot information. If `true`, returns all information. If`false`, omits information like start/end times, failures, and shards. Optional, defaults to`true`.|
32
-
| ignore_unavailable | Boolean | How to handle snapshots that are unavailable (corrupted or otherwise temporarily can't be returned). If `true` and the snapshot is unavailable, the request does not return the snapshot. If `false` and the snapshot is unavailable, the request returns an error. Optional, defaults to`false`.|
31
+
| verbose | Boolean |When `true`, returns additional information about each snapshot, such as the version of OpenSearch that took the snapshot, the start and end times of the snapshot, and the number of shards contained in the snapshot. When`false`, returns only snapshot names and contained indexes. This is useful when the snapshots belong to a cloud-based repository, where each blob read is a cost or performance concern. Optional. Default is`true`.|
32
+
| ignore_unavailable | Boolean | How to handle snapshots that are unavailable (corrupted or otherwise temporarily can't be returned). If `true` and the snapshot is unavailable, the request does not return the snapshot. If `false` and the snapshot is unavailable, the request returns an error. Optional. Default is`false`.|
Copy file name to clipboardExpand all lines: _api-reference/snapshots/restore-snapshot.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,17 @@ parent: Snapshot APIs
6
6
nav_order: 9
7
7
---
8
8
9
-
# Restore Snapshot
9
+
# Restore snapshot
10
10
**Introduced 1.0**
11
11
{: .label .label-purple }
12
12
13
-
Restores a snapshot of a cluster or specified data streams and indices.
13
+
Restores a snapshot of a cluster or specified data streams and indexes.
14
14
15
-
* For information about indices and clusters, see [Introduction to OpenSearch]({{site.url}}{{site.baseurl}}/opensearch/index).
15
+
* For information about indexes and clusters, see [Introduction to OpenSearch]({{site.url}}{{site.baseurl}}/opensearch/index/).
16
16
17
17
* For information about data streams, see [Data streams]({{site.url}}{{site.baseurl}}/opensearch/data-streams).
18
18
19
-
If open indexes with the same name that you want to restore already exist in the cluster, you must close, delete, or rename the indexes. See [Example request](#example-request) for information about renaming an index. See [Close index]({{site.url}}{{site.baseurl}}/api-reference/index-apis/close-index) for information about closing an index.
19
+
If open indexes with the same name that you want to restore already exist in the cluster, you must close, delete, or rename the indexes. See [Example request](#example-request) for information about renaming an index. See [Close index]({{site.url}}{{site.baseurl}}/api-reference/index-apis/close-index/) for information about closing an index.
20
20
{: .note}
21
21
22
22
## Endpoints
@@ -56,7 +56,8 @@ All request body parameters are optional.
56
56
| rename_alias_pattern | String | The pattern to apply to the restored aliases. Aliases matching the rename pattern will be renamed according to the `rename_alias_replacement` setting. <br /><br /> The rename pattern is applied as defined by the regular expression that supports referencing the original text. <br /> <br /> If two or more aliases are renamed to the same name, these aliases will be merged into one.|
57
57
| rename_alias_replacement | String | The rename replacement string for aliases.|
58
58
| source_remote_store_repository | String | The name of the remote store repository of the source index being restored. If not provided, the Snapshot Restore API will use the repository that was registered when the snapshot was created.
59
-
| wait_for_completion | Boolean | Whether to return a response after the restore operation has completed. If `false`, the request returns a response when the restore operation initializes. If `true`, the request returns a response when the restore operation completes. Defaults to `false`. |
59
+
| wait_for_completion | Boolean | Whether to return a response after the restore operation has completed. If `false`, the request returns a response when the restore operation initializes. If `true`, the request returns a response when the restore operation completes. Default is `false`. |
60
+
storage_type | `local` indicates that all snapshot metadata and index data will be downloaded to local storage. <br /><br > `remote_snapshot` indicates that snapshot metadata will be downloaded to the cluster, but the remote repository will remain the authoritative store of the index data. Data will be downloaded and cached as necessary to service queries. At least one node in the cluster must be configured with the [search role]({{site.url}}{{site.baseurl}}/security/access-control/users-roles/) in order to restore a snapshot using the type `remote_snapshot`. <br /><br > Defaults to `local`.
0 commit comments