Skip to content

Update restore-snapshot.md #2183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions deploy-manage/tools/snapshot-and-restore/restore-snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,15 @@ If you’re restoring to a different cluster, see [Restore to a different cluste
DELETE _data_stream/*?expand_wildcards=all
```

6. Delete all existing indices on the cluster.
6. Shutdown All Kibana (important, especially if you plan to restore .kibana* system indices).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
6. Shutdown All Kibana (important, especially if you plan to restore .kibana* system indices).
6. Stop all {{kib}} instances connected to the cluster. This is an important step, especially if you plan to restore {{kib}} data.


7. Delete all existing indices on the cluster.

```console
DELETE *?expand_wildcards=all
```

7. Restore the entire snapshot, including the cluster state. By default, restoring the cluster state also restores any feature states in the snapshot.
8. Restore the entire snapshot, including the cluster state. By default, restoring the cluster state also restores any feature states in the snapshot.

```console
POST _snapshot/my_repository/my_snapshot_2099.05.06/_restore
Expand All @@ -322,7 +324,9 @@ If you’re restoring to a different cluster, see [Restore to a different cluste
}
```

8. When the restore operation is complete, resume indexing and restart any features you stopped:
9. Restart All Kibana
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
9. Restart All Kibana
9. Start all {{kib}} instances


10. When the restore operation is complete, resume indexing and restart any features you stopped:

::::{note}
When the snapshot is restored, the license that was in use at the time the snapshot was taken will be restored as well. If your license has expired since the snapshot was taken, you will need to use the [Update License API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-license-post) to install a current license.
Expand Down Expand Up @@ -384,7 +388,7 @@ If you’re restoring to a different cluster, see [Restore to a different cluste
}
```

9. If wanted, reset the `action.destructive_requires_name` cluster setting.
10. If wanted, reset the `action.destructive_requires_name` cluster setting.

```console
PUT _cluster/settings
Expand Down
Loading