Skip to content

Commit

Permalink
Fix get-snapshot-api :docs:integTest (elastic#83273)
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo authored Jan 28, 2022
1 parent 2c03af3 commit 0935485
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ include::restore-snapshot-api.asciidoc[tag=cluster-state-contents]
Comma-separated list of data streams and indices to include in the snapshot.
Supports <<api-multi-index,multi-index syntax>>. Defaults to an empty array
(`[]`), which includes all regular data streams and regular indices. To exclude
all data streams and indices, use `-*` or `none`.
all data streams and indices, use `-*`.
+
You can't use this parameter to include or exclude <<system-indices,system
indices or system data streams>> from a snapshot. Use
Expand Down
14 changes: 14 additions & 0 deletions docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,24 @@ PUT /_snapshot/my_repository
}
PUT /_snapshot/my_repository/my_snapshot?wait_for_completion=true
{
"indices":"-*"
}
PUT /_snapshot/my_repository/snapshot_1?wait_for_completion=true
{
"indices":"-*"
}
PUT /_snapshot/my_repository/snapshot_2?wait_for_completion=true
{
"indices":"-*"
}
PUT /_snapshot/my_repository/snapshot_3?wait_for_completion=true
{
"indices":"-*"
}
----
// TESTSETUP
////
Expand Down

0 comments on commit 0935485

Please sign in to comment.