# Regarding Curator

**URL:** <https://discuss.elastic.co/t/regarding-curator/89670>\
**Category:** Elasticsearch\
**Created:** [June 16, 2017, 8:24am UTC](https://discuss.elastic.co/t/regarding-curator/89670 "2017-06-16T08:24:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubhamverma27](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@shubhamverma27](https://discuss.elastic.co/u/shubhamverma27)\
**Post date:** [June 16, 2017, 8:24am UTC](https://discuss.elastic.co/t/regarding-curator/89670/1 "2017-06-16T08:24:56Z")

</div>

Hi, How to send the snap shots to an external location like in es quer we do :-

1: $ curl -XPUT '[http://localhost:9200/\_snapshot/my\_backup](http://localhost:9200/_snapshot/my_backup)' -d '{  
"type": "fs",  
"settings": {  
"location": "/mount/backups/my\_backup",  
"compress": true  
}  
}'

How to Specify the location in curator?  
Also Is there an option to Archive Snapshots in curator?

---

<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:** [June 16, 2017, 8:50am UTC](https://discuss.elastic.co/t/regarding-curator/89670/2 "2017-06-16T08:50:05Z")

</div>

> [@shubhamverma27](#):
>
> curl -XPUT '[http://localhost:9200/\_snapshot/my\_backup](http://localhost:9200/_snapshot/my_backup)' -d '{  
> "type": "fs",  
> "settings": {  
> "location": "/mount/backups/my\_backup",  
> "compress": true  
> }  
> }'

This command only creates a repository. This requires that the path `/mount/backups/my_backup` be mounted on _all_ nodes. It also requires that all master and data nodes have `path.data: /mount/backups/my_backup` in their respective elasticsearch.yml configuration files, and restarted after that.

Once those conditions are met, all you'd have to do is specify `repository: my_backup` in the options section of a `snapshot` action in a Curator action file. An example of this is in the [examples in the official documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/ex_snapshot.html).

> [@shubhamverma27](#):
>
> Also Is there an option to Archive Snapshots in curator?

If you mean by this, "Is there a way for Curator to also move snapshots to some other kind of long term storage?" the answer is no. There are many and diverse ways to achieve what you want, but those are beyond Curator's scope.

---

<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 14, 2017, 9:01am UTC](https://discuss.elastic.co/t/regarding-curator/89670/3 "2017-07-14T09:01:15Z")

</div>

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