add hints about new functionality in documention

This commit is contained in:
Kjetil Torgrim Homme 2025-01-14 02:04:52 +01:00
parent 11e4e5833b
commit 2585c68d16
2 changed files with 6 additions and 1 deletions

View File

@ -34,6 +34,9 @@ size of the contained files at the time when the snapshot was created.
590c8fc8 2015-05-08 21:47:38 kazik /srv 580.200MiB
9f0bc19e 2015-05-08 21:46:11 luigi /srv 572.180MiB
If you have many snapshots, you can restrict it to only snapshots made
the last week, using ``-newer-than 7d``.
You can filter the listing by directory path:
.. code-block:: console

View File

@ -353,7 +353,9 @@ Since restic 0.17.0, it is possible to delete all snapshots for a specific
host, tag or path using the ``--unsafe-allow-remove-all`` option. The option
must always be combined with a snapshot filter (by host, path or tag).
For example the command ``forget --tag example --unsafe-allow-remove-all``
removes all snapshots with tag ``example``.
removes all snapshots with tag ``example``. Since restic 0.17.4, this
can be combined with an option like ``--older-than 1y`` to implement
a hard maximum retention for snapshots.
Security considerations in append-only mode