mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-26 18:08:36 +00:00
parent
35e4f24467
commit
15c96df5b5
@ -38,7 +38,7 @@ which returns:
|
||||
"my_backup": {
|
||||
"type": "fs",
|
||||
"settings": {
|
||||
"compress": "true",
|
||||
"compress": true,
|
||||
"location": "/mount/backups/my_backup"
|
||||
}
|
||||
}
|
||||
@ -219,7 +219,7 @@ specifying the list of indices in the body of the snapshot request.
|
||||
PUT /_snapshot/my_backup/snapshot_1
|
||||
{
|
||||
"indices": "index_1,index_2",
|
||||
"ignore_unavailable": "true",
|
||||
"ignore_unavailable": true,
|
||||
"include_global_state": false
|
||||
}
|
||||
-----------------------------------
|
||||
@ -340,7 +340,7 @@ with associated indices
|
||||
POST /_snapshot/my_backup/snapshot_1/_restore
|
||||
{
|
||||
"indices": "index_1,index_2",
|
||||
"ignore_unavailable": "true",
|
||||
"ignore_unavailable": true,
|
||||
"include_global_state": true,
|
||||
"rename_pattern": "index_(.+)",
|
||||
"rename_replacement": "restored_index_$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user