标准 debian 安装中 elasticsearch 的数据文件在哪里? [英] Where are data files of elasticsearch on a standard debian install?

查看:43
本文介绍了标准 debian 安装中 elasticsearch 的数据文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我处于一个非常有问题的境地......

Now I'm in a very problematic situation...

我的数据服务器被黑了,现在我无法通过 curl 或任何其他方法请求我的 elasticsearch 服务器.我有一堆非常关键的数据尚未备份(晚了 2 天,见鬼,我没有看到备份失败的警报).

My data server has been hacked and now I can't request my elasticsearch server by curl or any other method. I have a bunch of very critical data which was not yet backuped (2 days late, hell, I didn't see the alert that backup failed).

我试图重新启动服务,但没有办法,它什么也没说,当我用 ps 观看时,我在进程中什么也得不到.我认为这来自我的主机,它以安全模式运行我的服务器......

I've tried to restart the service but no way, it say nothing and I get nothing in processes when I'm watching with ps. I think that comes from my hoster which runs my server in a secure mode...

所以我试图找到物理文件,但没有找到.我有一个非自定义安装,所以在我的配置文件中,我有这个:

So I tried to locate the physical files but I didn't find them. I've a non-customized install so in my config file, I have this :

# Path to directory where to store index data allocated for this node.
#
# path.data: /path/to/data
#
# Can optionally include more than one location, causing data to be striped across
# the locations (a la RAID 0) on a file level, favouring locations with most free
# space on creation. For example:
#
# path.data: /path/to/data1,/path/to/data2

很好解释,但最后,我的文件在哪里?

Great explined but finally, where are my files ?

有人可以帮助我吗?在此先感谢这里所有伟大的人

Is someone there who can help me ? Thanks in advance to all great people in this place

推荐答案

索引文件在:

/var/lib/elasticsearch/nodes/0/indices/{nameOfYourIndex}/(0-4}/index

这篇关于标准 debian 安装中 elasticsearch 的数据文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆