vlead / analytics-db

This repository will hold the documents and specifications for installing ELK stack for analytics purposes
Other
1 stars 2 forks source link

Backup and restore scripts to be written for elastic search #9

Closed mrudhvika940 closed 6 years ago

mrudhvika940 commented 7 years ago

This issue captures documentation to backup all the indexes in elastic search database and restore the same

ksripathi commented 7 years ago

Refer : https://stackoverflow.com/questions/38346678/backup-and-restore-elasticsearch-elasticdump

ksripathi commented 7 years ago

Refer : https://jee-appy.blogspot.in/2016/11/elasticsearch-backup-and-restore.html

ksripathi commented 7 years ago

@mrudhvika940

I am almost done with this task kindly work on #8

ksripathi commented 7 years ago

Current existing backup script is using elasticdump utility refer

There are REST APIs provided by elasticsearch service to take regular snapshots and restore the same this approach is more intelligent than elasticdump utility

Reference : https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#modules-snapshots

ksripathi commented 7 years ago

Backup script can be found at : https://github.com/vlead/analytics-db/blob/refactor/scripts/backup

ksripathi commented 7 years ago

Restore script can be found at : https://github.com/vlead/analytics-db/blob/refactor/scripts/restore