# Transferring documents from different ES servers

**URL:** <https://discuss.elastic.co/t/transferring-documents-from-different-es-servers/313773>\
**Category:** Elasticsearch\
**Created:** [September 6, 2022, 9:38am UTC](https://discuss.elastic.co/t/transferring-documents-from-different-es-servers/313773 "2022-09-06T09:38:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivo\_Tavares](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivo_tavares/32/110022_2.png) [@Ivo\_Tavares](https://discuss.elastic.co/u/Ivo_Tavares)\
**Post date:** [September 6, 2022, 9:38am UTC](https://discuss.elastic.co/t/transferring-documents-from-different-es-servers/313773/1 "2022-09-06T09:38:42Z")

</div>

I'm trying to transfer some documents from a source server to a destination server. Both have the same settings, and indices associated to those documents.

The documents have an object data field, that inherits from an inner document.

- How would you do it?

- I've tried using (python client)

```auto
document = Document.get(using=source, id = id)
document.save(
            using=destination, 
            return_doc_meta = True,
            skip_empty = True,
            refresh=True
        )

```

but it seems that some data fields are not being transferred.

---

<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:** [October 4, 2022, 9:39am UTC](https://discuss.elastic.co/t/transferring-documents-from-different-es-servers/313773/2 "2022-10-04T09:39:27Z")

</div>

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