From 55c6dd1a6285635e2bfd0d8c3ebb18de4224ac72 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 12 Jun 2024 15:30:48 +0000 Subject: [PATCH] =?UTF-8?q?Older-version=20snapshots=20and=20repositories?= =?UTF-8?q?=20are=20guaranteed=20to=20work=20with=20=E2=80=A6=20(#7275)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Older-version snapshots and repositories are guaranteed to work with older versions of OpenSearch Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> * Change the wording Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Co-authored-by: Nathan Bower Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Co-authored-by: Nathan Bower Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> * Add again the part where the 2.11 snapshots can be restored to 2.11 clusters to emphasize Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> * Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md Co-authored-by: Nathan Bower Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> --------- Signed-off-by: tan3-netapp <162295776+tan3-netapp@users.noreply.github.com> Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Nathan Bower (cherry picked from commit 5ef51707f5e142e82e6daea4d99b893317b3ecee) Signed-off-by: github-actions[bot] --- .../availability-and-recovery/snapshots/snapshot-restore.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md b/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md index 91d0baca92..257db00db1 100644 --- a/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md +++ b/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md @@ -447,7 +447,9 @@ We recommend ceasing write requests to a cluster before restoring from a snapsho 1. A write request to the now-deleted alias creates a new index with the same name as the alias. 1. The alias from the snapshot fails to restore due to a naming conflict with the new index. -Snapshots are only forward-compatible by one major version. If you have an old snapshot, you can sometimes restore it into an intermediate cluster, reindex all indexes, take a new snapshot, and repeat until you arrive at your desired version, but you might find it easier to just manually index your data in the new cluster. +Snapshots are only forward compatible by one major version. Snapshots taken by earlier OpenSearch versions can continue to be restored by the version of OpenSearch that originally took the snapshot, even after a version upgrade. For example, a snapshot taken by OpenSearch 2.11 or earlier can continue to be restored by a 2.11 cluster even after upgrading to 2.12. + +If you have an old snapshot taken from an earlier major OpenSearch version, you can restore it to an intermediate cluster one major version newer than the snapshot's version, reindex all indexes, take a new snapshot, and repeat until you arrive at your desired major version, but you may find it easier to manually index your data in the new cluster. ## Security considerations