Search code examples
aws-elasticsearchelasticsearch-opendistro

Restore from backup to another instance


I was able to take backup of elastic server data using the steps mentioned in this thread...

https://forums.aws.amazon.com/message.jspa?messageID=930345#930345

But I am not able to restore data to another server. I tried a similar command line...

curl -XPOST 'http://search-weblogs-abcdefghijklmnojiu.us-east-1.a9.com/_snapshot/weblogs-index-backups/snapshot_1/_restore'

But I get connection refused error. How do I restore snapshot backup of one server to another es instance?


Solution

  • There are 3 steps to complete that task.

    1) Create IAM role
    2) Use the boto script to create snapshot repo
    3) Use Kibana to take the snapshot
    

    As explained here...

    http://oksoft.blogspot.com/2020/03/snapshot-and-restore-elastic-data-to-s3.html