From 009104c1b53566276be8481dcf3c03fcb7d4e787 Mon Sep 17 00:00:00 2001 From: Roberto Seldner Date: Tue, 4 Mar 2025 16:27:26 -0700 Subject: [PATCH 1/2] Update slm-put.asciidoc - Note how partial snapshots get deleted Adding a note to explain partial snapshots are deleted based on `expire_after` --- docs/reference/slm/apis/slm-put.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/slm/apis/slm-put.asciidoc b/docs/reference/slm/apis/slm-put.asciidoc index a6ee29bfd1bc9..7c2dd4bd8ce64 100644 --- a/docs/reference/slm/apis/slm-put.asciidoc +++ b/docs/reference/slm/apis/slm-put.asciidoc @@ -89,7 +89,8 @@ Retention rules used to retain and delete snapshots created by the policy. (Optional, <>) Time period after which a snapshot is considered expired and eligible for deletion. {slm-init} deletes expired snapshots based on the -<>. +<>. +`PARTIAL` snapshots will be removed according to this setting. `max_count`:: (Optional, integer) From dd33710ec89549152746af446409178cae2e8814 Mon Sep 17 00:00:00 2001 From: Roberto Seldner Date: Tue, 4 Mar 2025 17:04:06 -0700 Subject: [PATCH 2/2] Clarify SLM snapshot retention settings --- docs/reference/slm/apis/slm-put.asciidoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/reference/slm/apis/slm-put.asciidoc b/docs/reference/slm/apis/slm-put.asciidoc index 7c2dd4bd8ce64..5a4e9ab76368d 100644 --- a/docs/reference/slm/apis/slm-put.asciidoc +++ b/docs/reference/slm/apis/slm-put.asciidoc @@ -90,7 +90,9 @@ Retention rules used to retain and delete snapshots created by the policy. Time period after which a snapshot is considered expired and eligible for deletion. {slm-init} deletes expired snapshots based on the <>. -`PARTIAL` snapshots will be removed according to this setting. +Snapshots with a <> of `PARTIAL` will +be removed according to this setting. If not set, `PARTIAL` snapshots are deleted +as soon as a newer successful snapshot exists. `max_count`:: (Optional, integer) @@ -102,7 +104,9 @@ only includes snapshots with a <> of `min_count`:: (Optional, integer) -Minimum number of snapshots to retain, even if the snapshots have expired. +Minimum number of snapshots to retain, even if the snapshots have expired. This limit +only includes snapshots with a <> of +`SUCCESS`. ==== `schedule`::