# How to create Snapshot automatically?

**URL:** <https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353>\
**Category:** Elasticsearch\
**Created:** [October 18, 2017, 8:53am UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353 "2017-10-18T08:53:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hack3rcon](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hack3rcon](https://discuss.elastic.co/u/hack3rcon)\
**Post date:** [October 18, 2017, 8:53am UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/1 "2017-10-18T08:53:43Z")

</div>

Hello.  
Is it possible to create a Snapshot automatically?

Thank you.

---

<div class="post-metadata">

**Author:** ![jfortias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jfortias/32/23148_2.png) [@jfortias](https://discuss.elastic.co/u/jfortias)\
**Post date:** [October 18, 2017, 8:57am UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/2 "2017-10-18T08:57:29Z")

</div>

A snapshot is a http request... Then you need to code or to scrypt and use a scheduler .... I think it is an easy solution 🙂 I do in in Windows with the scheduler and a curl command

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [October 18, 2017, 9:23am UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/3 "2017-10-18T09:23:24Z")

</div>

This is exactly what Elasticsearch Curator was created for. See the [Snapshot action](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.2/snapshot.html). Use it with cron or the Windows scheduler.

---

<div class="post-metadata">

**Author:** ![hack3rcon](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hack3rcon](https://discuss.elastic.co/u/hack3rcon)\
**Post date:** [October 21, 2017, 7:52am UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/4 "2017-10-21T07:52:47Z")

</div>

Where I must write `action: snapshot` command?

---

<div class="post-metadata">

**Author:** ![hack3rcon](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hack3rcon](https://discuss.elastic.co/u/hack3rcon)\
**Post date:** [October 21, 2017, 7:52am UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/5 "2017-10-21T07:52:56Z")

</div>

Can you show it?

---

<div class="post-metadata">

**Author:** ![hack3rcon](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hack3rcon](https://discuss.elastic.co/u/hack3rcon)\
**Post date:** [October 28, 2017, 12:08pm UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/6 "2017-10-28T12:08:34Z")

</div>

Can you show me an example?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [October 28, 2017, 3:07pm UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/7 "2017-10-28T15:07:16Z")

</div>

The examples are all [in the documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.2/ex_snapshot.html).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 25, 2017, 3:07pm UTC](https://discuss.elastic.co/t/how-to-create-snapshot-automatically/104353/8 "2017-11-25T15:07:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
