# Migrate Datastreams

**URL:** <https://discuss.elastic.co/t/migrate-datastreams/307357>\
**Category:** Elasticsearch\
**Created:** [June 16, 2022, 7:54am UTC](https://discuss.elastic.co/t/migrate-datastreams/307357 "2022-06-16T07:54:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EllBil](https://avatars.discourse-cdn.com/v4/letter/e/9e8a1a/32.png) [@EllBil](https://discuss.elastic.co/u/EllBil)\
**Post date:** [June 16, 2022, 7:54am UTC](https://discuss.elastic.co/t/migrate-datastreams/307357/1 "2022-06-16T07:54:09Z")

</div>

Hello,  
I'm trying to migrate to a new server and a new cluster.  
My Data pipeline's output is being now on the new server, and I'm starting to receive data. However I can't restore my old data using \_reindex neither Elasticdump because I receive an error "only write ops with an op\_type of create are allowed in data streams"  
and whenever I add the option :  
"op\_type": "create"  
The I receive data but indexed with the current date and not with the date on the old server.

---

<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:** [July 14, 2022, 7:54am UTC](https://discuss.elastic.co/t/migrate-datastreams/307357/2 "2022-07-14T07:54:43Z")

</div>

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