2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 04:45:15 +00:00

Merge pull request #3165 from restic/2747-doc-forget

doc: Clarify calendar boundaries for --keep-* options
This commit is contained in:
Alexander Neumann 2020-12-16 08:38:03 +01:00 committed by GitHub
commit 1cdd38d9e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
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.