Hello, I use elastic cloud and apart from the automatic backups that take place, I'd like to use SLM so we can have 2 sets of backups. Disaster recovery etc.
So I have been following this:
I created my s3 bucket and it appears to work fine, I did a test snapshot manually and it wrote it into the bucket all seems well.
But now when I try to create a simple policy:
PUT /_slm/policy/nightly-snapshots
{
"schedule": "0 30 1 * * ?",
"name": "<actual-s3-aws-{now/d}>",
"repository": "actual-s3-aws",
"config": {
"indices": ["*"]
},
"retention": {
"expire_after": "30d",
"min_count": 5,
"max_count": 50
}
}
I get the following error:
{
"error" : {
"root_cause" : [
{
"type" : "invalid_index_name_exception",
"reason" : "Invalid index name [_slm], must not start with '_', '-', or '+'",
"index_uuid" : "_na_",
"index" : "_slm"
}
],
"type" : "invalid_index_name_exception",
"reason" : "Invalid index name [_slm], must not start with '_', '-', or '+'",
"index_uuid" : "_na_",
"index" : "_slm"
},
"status" : 400
}
If I try to follow commands like GET _slm/status
I get complaints about only allowing POST.
Is SLM just not available on elastic cloud or am I doing something really silly here?