ElasticSearch Backup using Rsync

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?

Thanks,
Senthil

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

Hi,
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 ...
}
}

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

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