How to downgrade elasticsearch single node from 7.9.2 to 7.9.1 with out any data loss

We are planning to downgrade elasticsearch 7.9.2 to 7.9.1. Please let us know how it will works with out any data loss along with the details.

You will need to take a snapshot, reinstall Elasticsearch and restore the snapshot - https://www.elastic.co/guide/en/elasticsearch/reference/7.10/setup-upgrade.html;

In-place downgrades to earlier versions are not supported. To downgrade to an earlier version, restore a snapshot taken prior to the version upgrade.

Why do you want to downgrade?

That doesn't work in general, the snapshot needs to have been taken before the upgrade. You can't necessarily restore a 7.9.2 snapshot into a 7.9.1 cluster.

I don't think there is a way to downgrade with a guarantee of no data loss, sorry. If you explain why you think you want to do that maybe we can help find an alternative.

Yep good point.

We want to use Open Distro for elasticsearch security plugin on elasticsearch and kibana. The supported plugins available till 7.9.1
This is the reason is there any way to do get kibana dashboards and index data of 7.9.2 into 7.9.1.
I have created snapshot in 7.9.2 and try to restore in 7.9.1 version.
Which thrown version compatability issues.

Then you need to reindex from remote.

Hi Christian,
Thanks for quick reply.
Can u please provide one sample example for doing the same. I am new to this re index part.

In that case, make sure that you install the OSS distribution as well. I do not think OpenDistro is compatible with the default Elastic distribution.

Or even better the default distribution which contains a lot of features such as security...

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