# Elasticsearch restore cluster with TLS enabled

**URL:** <https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392>\
**Category:** Elasticsearch\
**Created:** [March 11, 2022, 4:19am UTC](https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392 "2022-03-11T04:19:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![auto\_reply\_007](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@auto\_reply\_007](https://discuss.elastic.co/u/auto_reply_007)\
**Post date:** [March 11, 2022, 4:19am UTC](https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392/1 "2022-03-11T04:19:46Z")

</div>

Hello! we have Elasticsearch 7.10.2 cluster in Delhi ( with InterNode tls and users enabled ) and we want to move cluster data onto another location ( Dubai )  
and how to backup all data except security indices? because i don't want to move any users/passwords to new cluster, i want to use this without authorization

---

<div class="post-metadata">

**Author:** ![sagarpatel](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sagarpatel](https://discuss.elastic.co/u/sagarpatel)\
**Post date:** [March 11, 2022, 5:53am UTC](https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392/2 "2022-03-11T05:53:34Z")

</div>

Hi,

You need to use [Snapshot and Restore](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/snapshot-restore.html#snapshot-restore) functionality of Elasticsearch.

You can create snapshot by follwing [this](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/snapshots-take-snapshot.html) documentation. You can take snapshots of an entire cluster, including all its data streams and indices. You can also take snapshots of only specific data streams or indices in the cluster.

You can resotre snapshot by following [this](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/snapshots-restore-snapshot.html) documentation. as mentioned in documentation you can restore snapshot in other cluster as well.

> The information stored in a snapshot is not tied to a particular cluster or a cluster name. Therefore, it’s possible to restore a snapshot created from one cluster into another cluster by registering the repository that contains the snapshot in the new cluster and starting the restore process.

---

<div class="post-metadata">

**Author:** ![auto\_reply\_007](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@auto\_reply\_007](https://discuss.elastic.co/u/auto_reply_007)\
**Post date:** [March 11, 2022, 6:10am UTC](https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392/3 "2022-03-11T06:10:27Z")

</div>

yeah i know about this, but what can i do in case of authorization enabled on remote cluster? i want to restore only data, but nor the security indices

---

<div class="post-metadata">

**Author:** ![sagarpatel](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sagarpatel](https://discuss.elastic.co/u/sagarpatel)\
**Post date:** [March 11, 2022, 6:42am UTC](https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392/4 "2022-03-11T06:42:54Z")

</div>

you can provide only your data index name (comma seperated) when you take snapshot and exclude security indices.

```auto
PUT /_snapshot/my_backup/snapshot_2?wait_for_completion=true
{
  "indices": "data_stream_1,index_1,index_2",
  "ignore_unavailable": true
}

```

---

<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:** [April 8, 2022, 6:43am UTC](https://discuss.elastic.co/t/elasticsearch-restore-cluster-with-tls-enabled/299392/5 "2022-04-08T06:43:19Z")

</div>

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