Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit 4648145

Browse files
author
Vladimir Dolzhenko
committed
elastic#7939 doc adjusted
1 parent ff244bd commit 4648145

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/reference/modules/snapshots.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,11 @@ By setting `include_global_state` to false it's possible to prevent the cluster
289289
the snapshot. By default, the entire snapshot will fail if one or more indices participating in the snapshot don't have
290290
all primary shards available. This behaviour can be changed by setting `partial` to `true`.
291291

292-
Snapshot could be named according to the date that the snapshot made in a similar way as indices
293-
using <<date-math-index-names,date math expressions>>, keep in mind all special characters should be URI encoded.
292+
Snapshot names can be automatically derived using <<date-math-index-names,date math expressions>>, similarly as when creating
293+
new indices. Note that special characters need to be URI encoded.
294294

295-
For example, following command creates a snapshot with a name like `snapshot-2018.05.11`:
295+
For example, creating a snapshot with the current day in the name, like `snapshot-2018.05.11`, can be achieved with
296+
the following command:
296297
[source,js]
297298
-----------------------------------
298299
# PUT /_snapshot/my_backup/<snapshot-{now/d}>

0 commit comments

Comments
 (0)