From c5bb54c30a423ea43eb424085d504840613530dc Mon Sep 17 00:00:00 2001 From: Lukasz Marchewka Date: Thu, 11 Sep 2025 09:04:03 +0200 Subject: [PATCH 1/2] STAC-23332 Delete ElasticSearch indices before a restore operation. --- setup/data-management/backup_restore/kubernetes_backup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/data-management/backup_restore/kubernetes_backup.md b/setup/data-management/backup_restore/kubernetes_backup.md index 932cea505..e0e7f7339 100644 --- a/setup/data-management/backup_restore/kubernetes_backup.md +++ b/setup/data-management/backup_restore/kubernetes_backup.md @@ -646,7 +646,7 @@ To delete existing Elasticsearch indices so that a snapshot can be restored, fol ### Restore an Elasticsearch snapshot {% hint style="danger" %} -**When a snapshot is restored, existing indices won't be overwritten.** +**When a snapshot is restored, existing indices won't be overwritten, and the operation will fail. You have to delete the indices before restoring a snapshot. Be careful, this will delete all data in the indices, and the indices will be recreated with the data from the snapshot.** See [delete Elasticsearch indices](kubernetes_backup.md#delete-elasticsearch-indices). {% endhint %} From a7723b28e985672fd481577acdcc76048ae5a323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Marchewka?= Date: Thu, 11 Sep 2025 09:23:25 +0200 Subject: [PATCH 2/2] Update setup/data-management/backup_restore/kubernetes_backup.md Co-authored-by: Vladimir Iliakov --- setup/data-management/backup_restore/kubernetes_backup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/data-management/backup_restore/kubernetes_backup.md b/setup/data-management/backup_restore/kubernetes_backup.md index e0e7f7339..72727e5a1 100644 --- a/setup/data-management/backup_restore/kubernetes_backup.md +++ b/setup/data-management/backup_restore/kubernetes_backup.md @@ -646,7 +646,7 @@ To delete existing Elasticsearch indices so that a snapshot can be restored, fol ### Restore an Elasticsearch snapshot {% hint style="danger" %} -**When a snapshot is restored, existing indices won't be overwritten, and the operation will fail. You have to delete the indices before restoring a snapshot. Be careful, this will delete all data in the indices, and the indices will be recreated with the data from the snapshot.** +**You must delete the target indices before restoring a snapshot. This will delete all existing data in those indices. The indices will then be recreated with the data from the snapshot. This step is necessary because existing indices cannot be overwritten during restoration, causing the operation to fail.** See [delete Elasticsearch indices](kubernetes_backup.md#delete-elasticsearch-indices). {% endhint %}