From b3c0d2f45b345fcf3b107e7b5716f275589942f5 Mon Sep 17 00:00:00 2001 From: "Leo R. Lundgren" Date: Tue, 15 Dec 2020 12:43:06 +0100 Subject: [PATCH] doc: Clarify calendar boundaries for --keep-* options --- doc/060_forget.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/060_forget.rst b/doc/060_forget.rst index 79e8c9b3d..15f900c33 100644 --- a/doc/060_forget.rst +++ b/doc/060_forget.rst @@ -191,6 +191,10 @@ The ``forget`` command accepts the following parameters: made in the two years, five months, seven days, and three hours before the latest snapshot. +.. note:: All calendar related ``--keep-*`` options work on the natural time + boundaries and not relative to when you run the ``forget`` command. Weeks + are Monday 00:00 -> Sunday 23:59, days 00:00 to 23:59, hours :00 to :59, etc. + Multiple policies will be ORed together so as to be as inclusive as possible for keeping snapshots.