Friday, April 12, 2024

OpenSearch

     2: Snapshot Stored location: We choose snapshot frequently 1 hour in AWS in which location snapshot are getting stored ?

To get list of automated snapshots run the below API:

If your domain encrypts data at rest—>GET _snapshot/cs-automated-enc/_all
If your domain doesn’t encrypt data at rest—>GET _snapshot/cs-automated/_all


Snapshot Restore from Kibana console

Syntax:

POST /_snapshot/location/snapshot_name/_restore?wait_for_completion=false 


POST /_snapshot/instaclustr-production/es-a4f4eb4a-271c-4300-84f4-0794bb498a50-snapshot-5ff78b07-1d94-4df0-866b-d821f5a3a812/_restore?wait_for_completion=false 

{ 

  "indices": "index_name", 

  "ignore_unavailable": true, 

  "include_global_state": false, 

  "include_aliases": true 

} 

No comments :

// Below script tag for SyntaxHighLighter