Last active
September 23, 2016 07:31
-
-
Save wvandrunen/06b3bc45b388babc99e2 to your computer and use it in GitHub Desktop.
Elasticsearch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## IN CONFIG | |
| path.repo: ["\\\\PATH\\x\\ELASTIC\\DEV"] | |
| ## BUCKET AANMAKEN (op beide clusters) | |
| PUT /_snapshot/DEV | |
| { | |
| "type": "fs", | |
| "settings": { | |
| "location": "\\\\PATH\\x\\ELASTIC\\DEV", | |
| "compress": false | |
| } | |
| } | |
| ## SNAPSHOT MAKEN | |
| PUT _snapshot/DEV/[NAAM] | |
| { | |
| "ignore_unavailable": false, | |
| "include_global_state": false, | |
| "indices": "*" | |
| } | |
| ## RESTORE | |
| POST /_snapshot/DEV/[NAAM]/_restore | |
| { | |
| "ignore_unavailable": false, | |
| "include_global_state": false, | |
| "indices": "*" | |
| } | |
| ## STATUS | |
| GET _cat/indices?bytes=human&ignore_unavailable=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment