Steevo Wiki

You are here: Home » elasticsearch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
elasticsearch [2022/06/05 10:53]
admin
elasticsearch [2024/01/26 17:33] (current)
Line 38: Line 38:
 </code> </code>
  
 +===== Restore a snapshot =====
  
 +
 +
 +<code>
 +curl -k -XPOST ' [hostname]/_snapshot/[repository]/[snapshot_name]/_restore' -d '{
 +"indices": "*",
 +"ignore_unavailable": true,
 +"rename_pattern": ".kibana",
 +"rename_replacement": "restored_.kibana"
 +}' -H 'Content-Type: application/json'
 +</code>