mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 22:27:35 +00:00
Merge pull request #3165 from restic/2747-doc-forget
doc: Clarify calendar boundaries for --keep-* options
This commit is contained in:
commit
1cdd38d9e0
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user