Elasticsearch snapshot backup issues

Hello
Need to send everyday snapshot backup to s3
i m using following command
curl -XPUT 'localhost:9200/_snapshot/s3_repository/snapshot_2?wait_for_completion=true&pretty'

i need to store backup on s3 on different folder structure with folder name with current date

What is the problem then?

How to achieve that

Snapshots may contain references to segments backed up in previous snapshots, which makes it difficult to split it up the way you want. This is quite well described in this blog post. What is the driver behind this requirement?

so basically i only need to change snapshot name >
in this case how will i restore it coz i m getting below error

error" : {
"root_cause" : [ {
"type" : "snapshot_restore_exception",
"reason" : "[s3_repository:snapshot_1] cannot restore index [graylog_25] because it's open"
} ],

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.