As per the documentation here We should be able to have a rollover date-math name for the snapshot (eg. snapshot-2019.05.13). However on executing the below via kibana, I run into the following error. How do I rectify this?
PUT /_snapshot/es_backup/%3Csnapshot-%7Bnow%2Fd%7D%3E?wait_for_completion=true
{
"indices": "logstash-*",
"ignore_unavailable": true,
"include_global_state": false
}
Error:
{
"error": {
"root_cause": [
{
"type": "invalid_snapshot_name_exception",
"reason": "[es_backup:<snapshot-{now/d}>] Invalid snapshot name [<snapshot-{now/d}>], must not contain the following characters [ , \", *, \\, <, |, ,, >, /, ?]"
}
],
"type": "invalid_snapshot_name_exception",
"reason": "[es_backup:<snapshot-{now/d}>] Invalid snapshot name [<snapshot-{now/d}>], must not contain the following characters [ , \", *, \\, <, |, ,, >, /, ?]"
},
"status": 400
}