So, if i understand, i still use snapshot & restore module to backup my server, XDELETE to rotate, but i have to add Curator to reduce the backup in my ES repo?
Ok thank you, if i have no choice, i will use curator.
For now we use Elasticsearch with Graylog, and Graylog delete older indices than 50 days.
So i backup only the last 50 indices.
To be sure:
It is normal if my old indices (in my backup) are not deleted? although i use a curl -s XDELETE ?
And if remove old indices (in my backup) with a rm -r, can i corrupt my backup?
No. This is not normal. If indices persist, it could indicate the behavior characteristics of an overloaded cluster.
Absolutely. You should never interact with the files in your data directory or your snapshot repository in any other way than via the designated API calls.
While I appreciate that you're using the API calls to handle what you're doing, Curator was expressly designed to be an index and snapshot selecting wrapper for those API calls, to enable you to do everything much more easily. I think if you give it a try you'll find it to your liking.
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.