# How to provide name to the snapshot using curator

**URL:** https://discuss.elastic.co/t/how-to-provide-name-to-the-snapshot-using-curator/25508
**Category:** Elasticsearch
**Created:** [July 14, 2015, 9:48am UTC](https://discuss.elastic.co/t/how-to-provide-name-to-the-snapshot-using-curator/25508 "2015-07-14T09:48:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)
#### Post date: [July 14, 2015, 9:48am UTC](https://discuss.elastic.co/t/how-to-provide-name-to-the-snapshot-using-curator/25508/1 "2015-07-14T09:48:37Z")

</div>

Hi Experts,

I am using Curator to take backup of indices. I am able to create snapshot using following command . Now I want to mention a name to this snapshot .

**curator --host localhost --port 9200 --http\_auth admin:XXXX snapshot --repository god indices --prefix tot**

With this command it takes snapshot of the index starts with **tot** and it creates snapshot with the default name like **"snapshot-curator-20150714094001"**. I want to give my customized name .Please suggest how I can achieve this ?

Thanks  
Vikas

---

<div class="post-metadata">

### Author: ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)
#### Post date: [July 14, 2015, 10:01am UTC](https://discuss.elastic.co/t/how-to-provide-name-to-the-snapshot-using-curator/25508/2 "2015-07-14T10:01:25Z")

</div>

I cracked it, so to provide name we need to use --name option . Something like

**curator --host localhost --port 9200 --http\_auth admin:XXXX snapshot --name myindex --repository god indices --prefix tot**

---

<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: [July 6, 2017, 12:01am UTC](https://discuss.elastic.co/t/how-to-provide-name-to-the-snapshot-using-curator/25508/3 "2017-07-06T00:01:36Z")

</div>


