Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 912 Bytes

elasticsearch_restore_snapshot.md

File metadata and controls

29 lines (17 loc) · 912 Bytes

Elasticsearch restore snapshot

AWS Elasticsearch Documentation

Commands

Get all snapshot repositories

curl -XGET '[elasticsearch-endpoint]/_snapshot?pretty'

Get all snapshots

curl -XGET '[elasticsearch-endpoint]/_snapshot/[repository-name]/_all?pretty'

Restore a snapshot

curl -XPOST '[elasticsearch-endpoint]/_snapshot/[repository-name]/[snapshot-name]/_restore'

Delete Index

curl -XDELETE '[elasticsearch-endpoint]/[index-name]'