# Snapshot register

**URL:** <https://discuss.elastic.co/t/snapshot-register/98836>\
**Category:** Elasticsearch\
**Created:** [August 30, 2017, 10:16am UTC](https://discuss.elastic.co/t/snapshot-register/98836 "2017-08-30T10:16:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek\_Samaga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek_samaga/32/43285_2.png) [@Vivek\_Samaga](https://discuss.elastic.co/u/Vivek_Samaga)\
**Post date:** [August 30, 2017, 10:16am UTC](https://discuss.elastic.co/t/snapshot-register/98836/1 "2017-08-30T10:16:45Z")

</div>

Hi I want to register snapshot to backup my indices.  
But my ES cluster is down i cant do it via SENSE UI

my command is

```
 curl -XPUT 'elk.***.com:9200/_snapshot/my_backup'
		{
			"type": "fs",
			"settings": {
			"location": "/elk_bak/esback",
			"compress": true
				}
		}

```

Where can i run this command?  
In shell prompt it is not taking multiline command.

---

<div class="post-metadata">

**Author:** ![Vivek\_Samaga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek_samaga/32/43285_2.png) [@Vivek\_Samaga](https://discuss.elastic.co/u/Vivek_Samaga)\
**Post date:** [August 30, 2017, 11:56am UTC](https://discuss.elastic.co/t/snapshot-register/98836/2 "2017-08-30T11:56:31Z")

</div>

I got this resolved with -d option.

---

<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:** [September 27, 2017, 11:56am UTC](https://discuss.elastic.co/t/snapshot-register/98836/3 "2017-09-27T11:56:36Z")

</div>

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