From dbc8bbeb6a831aefca52a85f5df0b328ffc7a8b2 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Sat, 20 Jun 2020 16:05:00 +0100 Subject: [PATCH] docs: config: prune: example: keep manual snapshots on receiver Fixes #335 closes #336 Signed-off-by: Christian Schwarz --- docs/configuration/prune.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/configuration/prune.rst b/docs/configuration/prune.rst index 69d293a..d8769dd 100644 --- a/docs/configuration/prune.rst +++ b/docs/configuration/prune.rst @@ -46,6 +46,8 @@ Example Configuration: grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d regex: "^zrepl_.*" # manually created snapshots will be kept forever on receiver + - type: regex + regex: "^manual_.*" .. DANGER:: You might have **existing snapshots** of filesystems affected by pruning which you want to keep, i.e. not be destroyed by zrepl.