# Backup and restore of elasticsearch indices

**URL:** <https://discuss.elastic.co/t/backup-and-restore-of-elasticsearch-indices/256855>\
**Category:** Elasticsearch\
**Created:** [November 27, 2020, 9:15am UTC](https://discuss.elastic.co/t/backup-and-restore-of-elasticsearch-indices/256855 "2020-11-27T09:15:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitarorait82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rohitarorait82/32/82981_2.png) [@rohitarorait82](https://discuss.elastic.co/u/rohitarorait82)\
**Post date:** [November 27, 2020, 9:15am UTC](https://discuss.elastic.co/t/backup-and-restore-of-elasticsearch-indices/256855/1 "2020-11-27T09:15:50Z")

</div>

Hi All,

Backup team has taken the backup of path.data folder and provided us the backup. I copied the folder and placed in new server.

I have given the same folder in path.data property of elasticsearch.yml in new cluster . I am getting below error

myindex-2020.10 0 p UNASSIGNED CLUSTER\_RECOVERED.

Is there a way to recover it.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 27, 2020, 11:34am UTC](https://discuss.elastic.co/t/backup-and-restore-of-elasticsearch-indices/256855/2 "2020-11-27T11:34:40Z")

</div>

Not really, no, see the big warning on the [manual page regarding backups](https://www.elastic.co/guide/en/elasticsearch/reference/current/backup-cluster.html):

> **WARNING** : You cannot back up an Elasticsearch cluster by simply copying the data directories of all of its nodes. [...] The only reliable way to back up a cluster is by using the snapshot and restore functionality.

---

<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 25, 2020, 11:34am UTC](https://discuss.elastic.co/t/backup-and-restore-of-elasticsearch-indices/256855/3 "2020-12-25T11:34:41Z")

</div>

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