diff --git a/deploy-manage/tools/snapshot-and-restore/create-snapshots.md b/deploy-manage/tools/snapshot-and-restore/create-snapshots.md index 69e20b913..1b616cf8d 100644 --- a/deploy-manage/tools/snapshot-and-restore/create-snapshots.md +++ b/deploy-manage/tools/snapshot-and-restore/create-snapshots.md @@ -11,9 +11,9 @@ products: - id: elasticsearch --- -# Create snapshots [snapshots-take-snapshot] +# Create, monitor and delete snapshots [snapshots-take-snapshot] -This guide shows you how to take snapshots of a running cluster. You can later [restore a snapshot](restore-snapshot.md) to recover or transfer its data. +This guide shows you how to create, monitor and delete snapshots of a running cluster. You can later [restore a snapshot](restore-snapshot.md) to recover or transfer its data. In this guide, you’ll learn how to: @@ -187,6 +187,20 @@ We recommend you include retention rules in your {{slm-init}} policy to delete s A snapshot repository can safely scale to thousands of snapshots. However, to manage its metadata, a large repository requires more memory on the master node. Retention rules ensure a repository’s metadata doesn’t grow to a size that could destabilize the master node. +### Update an existing {{slm-init}} policy [update-slm-policy] + +You can update an existing {{slm-init}} policy after it's created. To manage {{slm-init}} in {{kib}}, go to the main menu and click **Stack Management** > **Snapshot and Restore** > **Policies**, click the pencil icon, and make the desired change. + +For example, you can change the schedule, or snapshot retention related configurations. + + +![change schedule](/manage-data/images/elasticsearch-reference-change-slm-schedule.png) + +![change snapshot retention](/manage-data/images/elasticsearch-reference-change-slm-snapshot-retention.png) + + +You can also update an {{slm-init}} policy using the [{{slm-init}} APIs](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-slm), as described in [Create an {{slm-init}} policy](#create-slm-policy). + ## Manually create a snapshot [manually-create-snapshot] @@ -242,7 +256,11 @@ GET _slm/policy/nightly-snapshots ## Delete or cancel a snapshot [delete-snapshot] -To delete a snapshot in {{kib}}, go to the **Snapshots** page and click the trash icon under the **Actions** column. You can also use the [delete snapshot API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-snapshot-delete). +To delete a snapshot in {{kib}}, go to the **Snapshots** page and click the trash icon under the **Actions** column. To delete multiple snapshots at once, select the snapshots first, and then click `Delete snapshots` button. + +![delete snapshot](/manage-data/images/elasticsearch-reference-delete-snapshots.png) + +You can also use the [delete snapshot API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-snapshot-delete). ```console DELETE _snapshot/my_repository/my_snapshot_2099.05.06 diff --git a/manage-data/images/elasticsearch-reference-change-slm-schedule.png b/manage-data/images/elasticsearch-reference-change-slm-schedule.png new file mode 100644 index 000000000..48fa8e29d Binary files /dev/null and b/manage-data/images/elasticsearch-reference-change-slm-schedule.png differ diff --git a/manage-data/images/elasticsearch-reference-change-slm-snapshot-retention.png b/manage-data/images/elasticsearch-reference-change-slm-snapshot-retention.png new file mode 100644 index 000000000..92f21c024 Binary files /dev/null and b/manage-data/images/elasticsearch-reference-change-slm-snapshot-retention.png differ diff --git a/manage-data/images/elasticsearch-reference-delete-snapshots.png b/manage-data/images/elasticsearch-reference-delete-snapshots.png new file mode 100644 index 000000000..082a1d23a Binary files /dev/null and b/manage-data/images/elasticsearch-reference-delete-snapshots.png differ