Security_exception while Restoring Snapshot | ES 8.3.2

I m trying to restore snapshot from version 6.2.4 to 8.3.2, getting error :

{
    "error": {
        "root_cause": [
            {
                "type": "security_exception",
                "reason": "current license is non-compliant for [archive]",
                "license.expired.feature": "archive"
            }
        ],
        "type": "security_exception",
        "reason": "current license is non-compliant for [archive]",
        "license.expired.feature": "archive"
    },
    "status": 403
}

License on both the clusters are basic and active and security is also disabled on both clusters.
As per ES docs (Snapshot and restore | Elasticsearch Guide [8.5] | Elastic), restoring snapshot from 6.x to 8.3-8.5 is feasible and should work.

Tried restoring on local environment also with v7.14 (it worked on 7.14), but same issue occurred on local v8.3.2 and v8.4.0.
How can this be resolved?

Elasticsearch can only read indices from one major version back. Indices created in version 6.x can therefore not be restored and read in fersion 8.x. You will need to restore into version 7.17 and then run the migration assistant. Reindex the data in 7.17 and make sure you fix any issues. Since the new indices were created in 7.17 they can be imported into 8.x.

The table you referred to has a footnote indicating that older indices can be read in version 8 as archive indices with reduced capabilities and restrictions. Have not used this feature so will leave for others to comment on this.

1 Like

The archive functionality is not included in the basic license. See this page for more details:

2 Likes

Yes, to use archive funtionality enterprise subscription is needed. Thanks for the help.

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