ElasticSearch Backup using Rsync

(Senthil Jothi) #1

Hi Folks,

I have a couple of questions regarding Elasticsearch backup.

  1. Do I need to the backup of Elasticsearch node? Note - I am using Elasticsearch with Bitbucket.
  2. How to take the Elasticsearch backup using Rsync? Any GitHub code line or any other example?


(Mark Walkom) #2

Do not do it with rsync, there is an API for this - https://www.elastic.co/guide/en/elasticsearch/reference/5.1/modules-snapshots.html

(Senthil Jothi) #3

Thanks for the reply. I am not using any shared file system like Netapp or anything. I am using the local file system to store my index. Can I still use those API(s)?

If I can still use those API(s), what settings I should pass in the below API and what is this location(/_snapshot/my_backup)?

PUT /_snapshot/my_backup
"type": "fs",
"settings": {
... repository specific settings ...

(Mark Walkom) #4

No you can't. Just don't use rsync, it'll likely break things.

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.