1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-21 23:33:03 +00:00

Merge pull request #1806 from mholt/patch-1

doc: Clarify multiple forget policies get ORed
This commit is contained in:
Alexander Neumann 2018-05-26 11:03:22 +02:00
commit 4bf07a74a0

View file

@ -164,6 +164,9 @@ The ``forget`` command accepts the following parameters:
years, months, and days, e.g. ``2y5m7d`` will keep all snapshots made in the
two years, five months, and seven days before the latest snapshot.
Multiple policies will be ORed together so as to be as inclusive as possible
for keeping snapshots.
Additionally, you can restrict removing snapshots to those which have a
particular hostname with the ``--hostname`` parameter, or tags with the
``--tag`` option. When multiple tags are specified, only the snapshots