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

Commit

Permalink
elastic#7939 doc adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Dolzhenko committed May 15, 2018
1 parent ff244bd commit 4648145
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/reference/modules/snapshots.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,11 @@ By setting `include_global_state` to false it's possible to prevent the cluster
the snapshot. By default, the entire snapshot will fail if one or more indices participating in the snapshot don't have
all primary shards available. This behaviour can be changed by setting `partial` to `true`.

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

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

0 comments on commit 4648145

Please sign in to comment.