2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 19:10:49 +00:00

doc: Clarify calendar boundaries for --keep-* options

This commit is contained in:
Leo R. Lundgren 2020-12-15 12:43:06 +01:00
parent 52b98f7f95
commit b3c0d2f45b

View File

@ -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 made in the two years, five months, seven days, and three hours before the
latest snapshot. 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 Multiple policies will be ORed together so as to be as inclusive as possible
for keeping snapshots. for keeping snapshots.