[英]Migrate Elasticsearch from local machine to online server
I have been working on Elasticsearch.我一直在研究 Elasticsearch。 I want to migrate my Elasticsearch data to online server.我想将我的 Elasticsearch 数据迁移到在线服务器。 I am using Elasticsearch 7.6 on my local machine (Windows operating System) with the web application.我在我的本地机器(Windows 操作系统)上使用 Elasticsearch 7.6 和 Web 应用程序。 Now i want to move this to online Web server.现在我想将其移动到在线 Web 服务器。 Is there any tool to do it.有没有什么工具可以做到。 In MySql we create dump files.在 MySql 中,我们创建转储文件。 How to do it in Elasticsearch.如何在 Elasticsearch 中做到这一点。
i know this is not coding question but i want to explore the answers as my research didn't get me anything.我知道这不是编码问题,但我想探索答案,因为我的研究没有给我任何帮助。
The online web server is Linux based on a shared hosting.在线 Web 服务器是基于共享主机的 Linux。
Thanks谢谢
you can create a snapshot of the local elastic indexes, Install the same version of elasticsearch on the online server and then restore the snapshot there.您可以创建本地弹性索引的快照,在在线服务器上安装相同版本的elasticsearch,然后在那里恢复快照。 Read more on this here : https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html and here https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-restore-snapshot.html在这里阅读更多信息: https : //www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html和这里https://www.elastic.co/guide/en/elasticsearch/reference /current/snapshots-restore-snapshot.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.