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 10:10] – [Restore snapshot] 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:// | ||
Line 71: | Line 91: | ||
====== References ====== | ====== References ====== | ||
* https:// | * https:// | ||
+ | * https:// | ||
wiki/elasticsearch_commands.1670580624.txt.gz · Last modified: 2022/12/09 10:10 by antisa