wiki:elasticsearch_commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:elasticsearch_commands [2022/12/09 09:45] – add deleting all indices antisa | wiki:elasticsearch_commands [2023/01/11 16:03] (current) – [Restore snapshot] add restore single index antisa | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| curl -X PUT " | curl -X PUT " | ||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | To create single index snapshot use | ||
| + | < | ||
| + | curl -X PUT " | ||
| + | { | ||
| + | " | ||
| + | }' | ||
| + | </ | ||
| + | </ | ||
| The backup folder is created in /// | The backup folder is created in /// | ||
| Line 55: | Line 65: | ||
| curl -s -X POST " | curl -s -X POST " | ||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | To restore single index use | ||
| + | < | ||
| + | curl -s -X POST " | ||
| + | { | ||
| + | " | ||
| + | }' | ||
| + | </ | ||
| + | </ | ||
| If you get an [[https:// | If you get an [[https:// | ||
| - | curl -s -X POST " | + | curl -s -X POST " |
| '{ | '{ | ||
| " | " | ||
| Line 65: | Line 85: | ||
| ==== Tested on ==== | ==== Tested on ==== | ||
| * ES 7.17.5 | * ES 7.17.5 | ||
| - | |||
| - | ====== Troubleshooting ====== | ||
| ====== See also ====== | ====== See also ====== | ||
| Line 73: | Line 91: | ||
| ====== References ====== | ====== References ====== | ||
| * https:// | * https:// | ||
| + | * https:// | ||
wiki/elasticsearch_commands.1670579100.txt.gz · Last modified: by antisa
