diff --git a/docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc b/docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc index 200a5e9b520cf..2821db95dbb07 100644 --- a/docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc +++ b/docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc @@ -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 <>. 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 <> from a snapshot. Use diff --git a/docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc b/docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc index 503f29d46aa9f..12d9793d2e9e2 100644 --- a/docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc +++ b/docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc @@ -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 ////