Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NH-008] - Export/Import to elasticsearch #8

Open
danielmasegosa opened this issue Jul 21, 2019 · 2 comments
Open

[NH-008] - Export/Import to elasticsearch #8

danielmasegosa opened this issue Jul 21, 2019 · 2 comments
Assignees

Comments

@danielmasegosa
Copy link

We need to export data from our local elasticsearch and import at cloud elasticsearch.

For this we can use https://github.com/taskrabbit/elasticsearch-dump

@danielmasegosa
Copy link
Author

Using elasticsearch-dump, we could move data from our local elastic to the cloud elastic using or npm library or the docker image as follow:

docker run taskrabbit/elasticsearch-dump
--input=http://LOCAL_ELASTIC
--output=http://CLOUD_ELASTIC
--type=data

@danielmasegosa
Copy link
Author

Test import/export on local

docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.2.0

docker run -d --link f215ab1d5f26:elasticsearch -p 5601:5601 docker.elastic.co/kibana/kibana:7.2.0

docker run --link ELASTIC_CONTAINER_NAME:elasticsearch taskrabbit/elasticsearch-dump --input=http://elasticsearch:9200/INDEX
--output=http://elasticsearch:9200/INDEX2
--type=data

@danielmasegosa danielmasegosa changed the title Export/Import to elasticsearch [NH-008] - Export/Import to elasticsearch Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant