Hi All,
Unfortunately I have delete my index using Head. Can Anybody tell me how we back up my Index.
Thanx
Regards,
Sumit Gupta
Hi All,
Unfortunately I have delete my index using Head. Can Anybody tell me how we back up my Index.
Thanx
Regards,
Sumit Gupta
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
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.
--
--
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.
--
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.