Hi,
I have lot of records in only one index so I want to create snapshots backup of index every six months and point those to different index pattern so that I can have different dashboards for every six months and one dashboard for current six months.
First I have to schedule snapshot to every six moths
found some solution to that using SLM
PUT /_slm/policy/daily-snapshots
{
"schedule": "0 30 1 * * ?",
"name": "<daily-snap-{now/d}>",
"repository": "my_repository",
"config": {
"indices": ["data-*", "important"],
"ignore_unavailable": false,
"include_global_state": false
},
"retention": {
"expire_after": "30d",
"min_count": 5,
"max_count": 50
}
}
Is above query and "schedule" Cron Expression as per every six months
SECOND THING IS
want to create separate index as per snapshot ?
Is it available in version 7.4 or not?