Add --group-by to manual

This commit is contained in:
Alexander Neumann 2017-09-10 21:00:51 +02:00
parent 257a454515
commit 8e5b1e6f2f
1 changed files with 4 additions and 3 deletions

View File

@ -920,9 +920,10 @@ instructs restic to not remove anything but print which snapshots would
be removed. be removed.
When ``forget`` is run with a policy, restic loads the list of all When ``forget`` is run with a policy, restic loads the list of all
snapshots, then groups these by host name and list of directories. The snapshots, then groups these by host name and list of directories. The grouping
policy is then applied to each group of snapshots separately. This is a options can be set with ``--group-by``, to only group snapshots by paths and
safety feature. tags use ``--group-by paths,tags``. The policy is then applied to each group of
snapshots separately. This is a safety feature.
The ``forget`` command accepts the following parameters: The ``forget`` command accepts the following parameters: