From a89ba5a40aa50e7f7451202360041b47a32afad1 Mon Sep 17 00:00:00 2001 From: shahvirb Date: Tue, 13 Sep 2022 07:59:46 -0500 Subject: [PATCH] Update forget.md keep-within argument to be '14d' (#236) keep-within duration can only have units 'y', 'm', 'd', and 'h'. The current documentation of '2w' yields: ```invalid argument "2w" for "--keep-within" flag: invalid unit 'w' found after number 2``` https://restic.readthedocs.io/en/latest/060_forget.html#removing-snapshots-according-to-a-policy --- docs/markdown/location/forget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/location/forget.md b/docs/markdown/location/forget.md index 37e6e8f..530b499 100644 --- a/docs/markdown/location/forget.md +++ b/docs/markdown/location/forget.md @@ -21,7 +21,7 @@ locations: keep-weekly: 1 # keep 1 last weekly snapshots keep-monthly: 12 # keep 12 last monthly snapshots keep-yearly: 7 # keep 7 last yearly snapshots - keep-within: '2w' # keep snapshots from the last 2 weeks + keep-within: '14d' # keep snapshots from the last 14 days ``` ## Globally