# Dump Indexes and Documents from one server to another

**URL:** <https://discuss.elastic.co/t/dump-indexes-and-documents-from-one-server-to-another/296873>\
**Category:** Elasticsearch\
**Created:** [February 10, 2022, 4:24pm UTC](https://discuss.elastic.co/t/dump-indexes-and-documents-from-one-server-to-another/296873 "2022-02-10T16:24:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomTom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomtom/32/3676_2.png) [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Post date:** [February 10, 2022, 4:24pm UTC](https://discuss.elastic.co/t/dump-indexes-and-documents-from-one-server-to-another/296873/1 "2022-02-10T16:24:48Z")

</div>

If I need to backup my Elasticsearch database, or migrate data from one server to another, is it possible to dump the data and import it to another server?

Or if my current server (ES 6.8) and I migrate to a new one (ES 8.0), is it also possible?

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 10, 2022, 4:55pm UTC](https://discuss.elastic.co/t/dump-indexes-and-documents-from-one-server-to-another/296873/2 "2022-02-10T16:55:09Z")

</div>

If you are using snapshot and restore, you have to transit on 7.2-7.17 as it is impossible to import directly to 8.0.

> **[Snapshot and restore | Elasticsearch Guide \[8.0\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html#snapshot-cluster-compatibility)**

---

<div class="post-metadata">

**Author:** ![TomTom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomtom/32/3676_2.png) [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Post date:** [February 14, 2022, 4:43pm UTC](https://discuss.elastic.co/t/dump-indexes-and-documents-from-one-server-to-another/296873/3 "2022-02-14T16:43:23Z")

</div>

I am currently running version 6.8 of ES on my server and the new server will have version 8.0.  
I think then I will have to do a Rolling Upgrade from 6.8 to 7.17, create the snapshot and restore it to the new server.

Does Elastic Cloud have any native features that allow this type of import?

---

<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:** [March 14, 2022, 4:43pm UTC](https://discuss.elastic.co/t/dump-indexes-and-documents-from-one-server-to-another/296873/4 "2022-03-14T16:43:59Z")

</div>

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