ES Index BackUp


(Sumit Guptaa) #1

Hi All,

Unfortunately I have delete my index using Head. Can Anybody tell me how we back up my Index.

Thanx

Regards,
Sumit Gupta


(David Pilato) #2

I would say "ooops". I'm afraid that if you have no backup, you can not restore your data.

For the future, you can add the excellent jetty plugin from Sonian : https://github.com/sonian/elasticsearch-jetty

And protect this commands with admin credentials.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 22 août 2012 à 20:21, Sumit Guptaa sumit.gupta.ngi@gmail.com a écrit :

Hi All,

Unfortunately I have delete my index using Head. Can Anybody tell me how we
back up my Index.

Thanx

Regards,
Sumit Gupta

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/ES-Index-BackUp-tp4021985.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--

--


(Radu Gheorghe) #3

For backing up, you need to disable flush on the index you want to back up
and then just take the stuff from your data directory.

Here's what I currently use for backing up (please note that I'm also
optimizing and disabling writes before backing up - you might want to
remove that part):

As David suggested, this would only help in future - what you already
deleted is probably gone for good. Unless you can undelete the contents of
your data dir and even then it might not work.

On Wednesday, August 22, 2012 9:21:23 PM UTC+3, Sumit Gupta wrote:

Hi All,

Unfortunately I have delete my index using Head. Can Anybody tell me how
we
back up my Index.

Thanx

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/ES-Index-BackUp-tp4021985.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--


(system) #4