Location Path of Closed Indices

(Tanwer Siddiqui) #1

Hi All

Location for Indices is at /var/lib/elasticsearch/elasticsearch/nodes/0/indices/logstash-date

My query is, after closing of Indices whats the Path location of Closed Indices.


how could we find the closed indices Path in Unix.

(Mark Walkom) #2

They stay in the same location.

(Tanwer Siddiqui) #3

Hi Mark

So is there no way to pick the closed indices and have a copy backup of it.

(Mark Walkom) #4

Sure, you can do a cp if you want.

(Tanwer Siddiqui) #5

Ok, but first task before me is to find out the closed indices

(Mark Walkom) #6

Just because you close them doesn't mean they get moved.
As mentioned, they stay in the same place on disk.

(Tanwer Siddiqui) #7

Ok, please advice.. how i should take the backup of closed Index

(Mark Walkom) #8

You can just copy the data directory, or you can reopen it and use snapshot.

(Tanwer Siddiqui) #9

Ok, Thanks Mark

(system) #10