Elasticsearch snapshot backup issues

(Kunalpatil3017) #1

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

(Mark Walkom) #2

What is the problem then?

(Kunalpatil3017) #3

How to achieve that

(Christian Dahlqvist) #4

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?

(Kunalpatil3017) #5

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"
} ],

(system) #6

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