Created
June 30, 2020 17:38
-
-
Save rajivmehtaflex/b02d99a9173fe23b4cc3d84db29975c0 to your computer and use it in GitHub Desktop.
This file contains 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
//Get Repo List | |
GET /_cat/repositories | |
//Get Snapshot info | |
GET /_snapshot/gProviderbackup/_all | |
//Start Snapshot info | |
PUT _snapshot/gProviderbackup/snapshot-v1 | |
//Set the status | |
GET _snapshot/_status | |
//Backup of perticular index | |
PUT /_snapshot/gProviderbackup/snapshot-v?wait_for_completion=true | |
{ | |
"indices": "gdemo", | |
"ignore_unavailable": "true", | |
"include_global_state": false | |
} | |
DELETE /gdemo | |
//Restore process | |
POST /_snapshot/gProviderbackup/snapshot-v/_restore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment