Step1: created local folder and updated that path in es.yml file
Step2:created repository
PUT /_snapshot/ESBackup
{ "type": "fs",
"settings": {
"location": "jupiterindex3",
"compress": "true"
}}
step3:backup start
PUT /_snapshot/ESBackup
{
"indices": "jupiterindex3",
"ignore_unavailable": true,
"include_global_state": false
}
error as shown below:
"error": {
"root_cause": [
{
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: type is missing;"
}
]
Step4: added type of index
PUT /_snapshot/ESBackup
{ "type": "fs",
"settings": {
"location": "jupiterindex3",
"compress": "true",
"type":"logs"
}}
PUT /_snapshot/ESBackup
{
"indices": "jupiterindex3",
"type":"logs",
"ignore_unavailable": true,
"include_global_state": false
}
Again another error came:
"error": {
"root_cause": [
{
"type": "repository_exception",
"reason": "[ESBackup] repository type [logs] does not exist"
}
Please let me know what to do.