mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +00:00
doc: Clarify multiple forget policies get ORed
This commit is contained in:
parent
4cd28713b6
commit
ee4202f7c3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
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.
|
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
|
Additionally, you can restrict removing snapshots to those which have a
|
||||||
particular hostname with the ``--hostname`` parameter, or tags with the
|
particular hostname with the ``--hostname`` parameter, or tags with the
|
||||||
``--tag`` option. When multiple tags are specified, only the snapshots
|
``--tag`` option. When multiple tags are specified, only the snapshots
|
||||||
|
|
Loading…
Reference in a new issue