Merge pull request #1915 from mlissner/patch-2

Adds warning re performance of prune
This commit is contained in:
Alexander Neumann 2018-07-31 22:42:20 +02:00
commit 01aacf41b5
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,13 @@ data that was referenced by the snapshot from the repository. This can
be automated with the ``--prune`` option of the ``forget`` command,
which runs ``prune`` automatically if snapshots have been removed.
.. Warning::
Pruning snapshots can be a very time-consuming process, taking nearly
as long as backups themselves. During a prune operation, the index is
locked and backups cannot be completed. Performance improvements are
planned for this feature.
It is advisable to run ``restic check`` after pruning, to make sure
you are alerted, should the internal data structures of the repository
be damaged.