GuyS
1
Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Describe the issue: Is it possible to perfrom the restart with no replicas?
like:
OST /_snapshot/my-opensearch-repo/my-first-snapshot/_restore
{
“indices”: “opendistro-reports-definitions”,
“ignore_unavailable”: true,
“include_global_state”: false,
“rename_pattern”: “(.+)”,
“rename_replacement”: “$1_restored”,
“include_aliases”: false
"no_of_eplicas": None
}
Configuration:
Relevant Logs or Screenshots:
@GuyS After testing this locally with no security, I was able to restore with 0 replicas using the following syntax:
POST /_snapshot/my-opensearch-repo/my-first-snapshot/_restore
{
"indices": "opendistro-reports-definitions",
"ignore_unavailable": true,
"include_global_state": false,
"rename_pattern": "(.+)",
"rename_replacement": "$1_restored",
"include_aliases": false,
"index_settings": {
"index.number_of_replicas": 0
}
}
Hope this helps
GuyS
3
Thank you. yes this worked. at least so far. 