I was under the impression AWS ElasticSearch service comes with automated snaphshots/backups. Thats what I find in the documentation. It suggests they happen once a day and are stored on s3 but I do not see any backups in any of my s3 buckets. How do you get access to the automated snapshots?
It probably doesn't matter but I used the following template to create my elasticsearch domain explicitly indicating I want automated backups.
CloudFormation
"SnapshotOptions": {
"AutomatedSnapshotStartHour": "0"
}
These snapshots are stored in your own Amazon S3 bucket and standard S3 charges apply. If you have a snapshot from a self-managed OpenSearch cluster, you can use that snapshot to migrate to an OpenSearch Service domain.
The following request registers a new S3 repository called my-opensearch-repo in an existing bucket called my-open-search-bucket . By default, all snapshots are stored in the my/snapshot/directory .
You can't get to the S3 bucket itself but you can restore from the backup stored inside it by using CURL or another HTTP client to communicate directly with your cluster telling it to rebuild from the "cs-automated" repository which is linked to the s3 snapshots. To be able to communicate with your ES cluster directly via HTTP you'll have to temporarily open an IP access policy to your cluster.
http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains-snapshots.html#es-managedomains-snapshot-restore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With