Skip to content

Commit 5a8d069

Browse files
LolloneSkilfoyle
andauthored
Clarify minimal downtime data migration (#2654)
Clarify one point in the docs about minimal downtime migration. --------- Co-authored-by: David Kilfoyle <[email protected]>
1 parent 37912b3 commit 5a8d069

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ Tp complete the migration with minimal downtime, use incremental snapshots. Whil
4848

4949
1. **09:00**: Take the initial full snapshot of the old cluster. You can also take the initial full snapshot the day before.
5050
2. **09:30**: Restore the snapshot to the new cluster.
51-
3. **09:55**: Take another snapshot of the old cluster and restore it to the new cluster. Repeat this process until the snapshot and restore operations take only a few seconds or minutes.
51+
3. **09:55**: Take another snapshot of the old cluster and restore it to the new cluster. Repeat this process until the snapshot and restore operations take only a few seconds or minutes. Remember that when restoring indices that _already_ exist in the new cluster (for example, to pull in recently copied data), they first need to be [closed](/deploy-manage/tools/snapshot-and-restore/restore-snapshot.md#considerations). Also, remember that the restore operation automatically opens indices, so you will likely need to close the actively written ones after restoring them.
5252
4. **10:15**: Perform the final cutover.
5353
1. In the old cluster, pause indexing or set indices to read-only. For details on setting indices to read-only to safely pause indexing during migration, check [Index lifecycle actions: Read-only](elasticsearch://reference/elasticsearch/index-lifecycle-actions/ilm-readonly.md).
5454
2. Take a final snapshot.
55-
3. Restore the snapshot to the new cluster.
55+
3. Restore the snapshot to the new cluster. Again, remember that to restore indices that already exist, they first need to be closed.
5656
4. Change ingestion and querying to the new cluster.
5757
5. Open the indices in the new cluster.
5858

0 commit comments

Comments
 (0)