Snapshot automation - ES Version 5.2

Hi Team,

I'm trying to automate snapshots creation and deletion using "snapshot life cycle management", how ever when I tried to run create slm policy using API POST _slm/policy, I'm getting error as below

{"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}

ES version 5.2 supports Snapshot automation using "slm"?

Thanks

No, Snapshot Lifecycle Management was added in Elasticsearch 7.4, so is not available in earlier versions. You could potentially use Curator though.

Hi Christain,

Thank you

FYI 5.X is EOL, please upgrade ASAP.

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