I have done backup of 13.2 tb data using curator and trying to restore the entire data to another cluster using curator. I am closing the all indices before restoring the data . Even though I am getting error as below:
<class 'curator.exceptions.FailedExecution'>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: TransportError(500, 'snapshot_restore_exception', '[diaster:curator-20201023000010/ln0mqdlgStmXa-H_s9Innw] cannot restore index [filebeat-2020.10.19] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name')
I am configuring curator as below:
actions:
1:
action: close
description: "close selected indices"
options:
ignore_empty_list: True
continue_if_exception: True
filters:
- filtertype: age
source: creation_date
direction: older
unit: minutes
unit_count: 1
2:
action: restore
description: restoring snapshots
options:
repository: diaster
name:
indices:
ignore_empty_list: True
filters:
- filtertype: state
state: SUCCESS
Anyone has any idea on it how to to get rid of that error.