# Backup Of Index In Elasticsearch

**URL:** <https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834>\
**Category:** Elasticsearch\
**Created:** [November 23, 2023, 10:33am UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834 "2023-11-23T10:33:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)\
**Post date:** [November 23, 2023, 10:33am UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834/1 "2023-11-23T10:33:48Z")

</div>

Hi Team,

I had a requirement where Elasticsearch is running as a container. I need to take backup of the one of the index and need to restore in Elasticsearch cluster which is running on VM. There is no Kibana configured for the cluster which is running as a container.

Could you please let us know how to run the REST API commands to take Index backup or any other way to take Index backup.

Thanks,  
Debasis

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [November 23, 2023, 12:18pm UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834/2 "2023-11-23T12:18:02Z")

</div>

You will need to create a snapshot on some cloud service for example and restore it in the another cluster.

Please check the [Snapshot and restore](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html) documentation, it explains how to do that.

---

<div class="post-metadata">

**Author:** ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)\
**Post date:** [November 24, 2023, 3:20pm UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834/3 "2023-11-24T15:20:15Z")

</div>

> [@leandrojmp](#):
>
> Please check the [Snapshot and restore](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html) documentation, it explains how to do that.

Thanks @leandrojmp for response but how to run those REST API command since in this cluster no Kibana configured so how to run these command w/o dev console.

Thanks,  
Debasis

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 24, 2023, 3:25pm UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834/4 "2023-11-24T15:25:23Z")

</div>

Postman It's a good option.  
And you can run them with curl directly from your command line that takes a little more work because you have to format the input correctly.

So I'd recommend postman

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [November 24, 2023, 3:27pm UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834/5 "2023-11-24T15:27:27Z")

</div>

> [@Debasis\_Mallick](#):
>
> how to run those REST API command since in this cluster no Kibana configured so how to run these command w/o dev console.

As mentioned you can use Postman, but if you check the documentation every request example has a button that says `Copy as Curl`, this will copy the request as a curl command that you can run your terminal, you just need to edit the elasticsearch url and use your credentials for example.

---

<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:** [December 22, 2023, 3:28pm UTC](https://discuss.elastic.co/t/backup-of-index-in-elasticsearch/347834/6 "2023-12-22T15:28:12Z")

</div>

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