@theuntergeek thanks for the reply ,
my problem is the following
input in kibana devtools console :
GET /_snapshot/backup/_all
output :
{
"snapshots" : [
{
"snapshot" : "logstash_backup-2019-06-21",
"uuid" : "BJjwyCFmRZCuDxKJwemn2w",
"version_id" : 6080099,
"version" : "6.8.0",
"indices" : [
"logstash-2019.06.05",
"logstash-2019.06.20",
"logstash-2019.06.18",
"logstash-2019.06.19"
],
"include_global_state" : true,
"state" : "SUCCESS",
"start_time" : "2019-06-21T07:43:21.068Z",
"start_time_in_millis" : 1561103001068,
"end_time" : "2019-06-21T07:43:23.058Z",
"end_time_in_millis" : 1561103003058,
"duration_in_millis" : 1990,
"failures" : ,
"shards" : {
"total" : 20,
"failed" : 0,
"successful" : 20
}
},
{
"snapshot" : "logstash_backup-2019-06-22",
"uuid" : "tqV08lv4TieiMhHFEFd-yw",
"version_id" : 6080099,
"version" : "6.8.0",
"indices" : [
"logstash-2019.06.05",
"logstash-2019.06.20",
"logstash-2019.06.18",
"logstash-2019.06.19",
"logstash-2019.06.21"
],
"include_global_state" : true,
"state" : "SUCCESS",
"start_time" : "2019-06-22T18:30:04.867Z",
"start_time_in_millis" : 1561228204867,
"end_time" : "2019-06-22T18:30:08.759Z",
"end_time_in_millis" : 1561228208759,
"duration_in_millis" : 3892,
"failures" : [ ],
"shards" : {
"total" : 20,
"failed" : 0,
"successful" : 20
}
}
]
}
so if you observe closely the snapshot : logstash_backup-2019-06-22 snapshotted all the previous days , i already had the backup of it and i dont want to have a snapshot for same index twice .
for the next day i want to backup or snapshot the index for which i didn't have snapshot.
example for the way i want to configure
logstash_backup-2019-06-21
"logstash-2019.06.05",
"logstash-2019.06.20",
"logstash-2019.06.18",
"logstash-2019.06.19"
logstash_backup-2019-06-22
"logstash-2019.06.21"
since i already had snapshot of all previous indices i want to create a snapshot for only the index i didn't snapshot till now.
is there any solution for that ?