# How to snapshot all indexes with curator (ES 1.7 Curator 3.5)

**URL:** <https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172>\
**Category:** Elasticsearch\
**Created:** [July 22, 2016, 11:37am UTC](https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172 "2016-07-22T11:37:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvoros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bvoros/32/5246_2.png) [@bvoros](https://discuss.elastic.co/u/bvoros)\
**Post date:** [July 22, 2016, 11:37am UTC](https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172/1 "2016-07-22T11:37:36Z")

</div>

Hello All,

I am trying to schedule snapshotting of all indexes using curator.  
The command below results in an error.  
What am I doing wrong?

curator --host 10.11.12.13 snapshot --repository my\_s3\_repository indices --all-indices

Error:  
Traceback (most recent call last):  
File "/usr/local/bin/curator", line 11, in   
sys.exit(main())  
File "/usr/local/lib/python2.7/dist-packages/curator/curator.py", line 5, in main  
cli( obj={ "filters": [] } )  
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in **call**  
return self.main(\*args, \*\*kwargs)  
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main  
rv = self.invoke(ctx)  
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke  
return \_process\_result(sub\_ctx.command.invoke(sub\_ctx))  
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1057, in invoke  
Command.invoke(self, ctx)  
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke  
return ctx.invoke(self.callback, \*\*ctx.params)  
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke  
return callback(\*args, \*\*kwargs)  
File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new\_func  
return f(get\_current\_context(), \*args, \*\*kwargs)  
File "/usr/local/lib/python2.7/dist-packages/curator/cli/snapshot.py", line 46, in snapshot  
if any(c.isupper() for c in name):  
TypeError: 'NoneType' object is not iterable

---

<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:** [July 26, 2016, 8:33pm UTC](https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172/2 "2016-07-26T20:33:35Z")

</div>

Is that version 3.5, or 3.5.1? The fix for that error was released in 3.5.1.

---

<div class="post-metadata">

**Author:** ![bvoros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bvoros/32/5246_2.png) [@bvoros](https://discuss.elastic.co/u/bvoros)\
**Post date:** [July 27, 2016, 11:16am UTC](https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172/3 "2016-07-27T11:16:43Z")

</div>

This was it, thank you.  
Upgraded to 3.5.1 and all is well now.  
Might be worth updating the doc to use 3.5.1 as the example.  
[https://www.elastic.co/guide/en/elasticsearch/client/curator/3.5/installation.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/3.5/installation.html)

---

<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:** [July 28, 2016, 8:05pm UTC](https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172/4 "2016-07-28T20:05:00Z")

</div>

That example is not using the latest version by design, showing how to specify a version in case you needed to fall back to an older version for some reason.

Using `pip` without a version will get the latest, and the manual download instructions below do link to the appropriate version (3.5.1 for the 3.x branch). I can perhaps put a "this is the current version" number somewhere on the page.

---

<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 5, 2017, 10:31pm UTC](https://discuss.elastic.co/t/how-to-snapshot-all-indexes-with-curator-es-1-7-curator-3-5/56172/5 "2017-07-05T22:31:59Z")

</div>


