-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://cinhtau.net/2017/01/17/backup-your-elasticsearch-data-with-amazon-s3/ #2
Comments
Hi @tan-vinh NGUYEN, I am following this article for my hosted elasticsearch infra, I have connection from my hosted environment to AWS. If i try the below command: PUT _snapshot/_snapshot It says an error below: { can you guide me how to proceed here? |
Please format code with Markdown. 😉 |
You can not name the snapshot repository
To create a snapshot repository names s3 PUT _snapshot/s3
{
"type": "s3",
"settings": {
"bucket": "enter your bucketname",
"compress": true,
"region": "change this to your region of the bucket"
}
} |
Tried that as well. |
@cinhtau Thanks for the great article!! helped me a lot. Can you also help me how to restore the same indices in any new cluster of ES? |
@Matrix7867 Hi, thank you for your feedback. I do not do consulting in working hours, but I could write a follow up article. Basically it is these steps:
curl -X POST "localhost:9200/_snapshot/my_backup/snapshot_1/_restore?pretty" |
Backup your Elasticsearch data with Amazon S3
As I mentioned before, how easy it is to backup your Elasticsearch data with the snapshot and restore API, today’s post demonstrates how to backup the data t...
http://cinhtau.net/2017/01/17/backup-your-elasticsearch-data-with-amazon-s3/
The text was updated successfully, but these errors were encountered: