Merge pull request #1259 from jniggemann/doc-add-restic-check-advice
adds advice to run restic check regularly
This commit is contained in:
commit
2080afd9de
1 changed files with 8 additions and 0 deletions
|
@ -512,6 +512,10 @@ find the old snapshot in the repo and by default only reads those files
|
||||||
that are new or have been modified since the last snapshot. This is
|
that are new or have been modified since the last snapshot. This is
|
||||||
decided based on the modify date of the file in the file system.
|
decided based on the modify date of the file in the file system.
|
||||||
|
|
||||||
|
Now is a good time to run ``restic check`` to verify that all data
|
||||||
|
is properly stored in the repository. You should run this command regularly
|
||||||
|
to make sure the internal structure of the repository is free of errors.
|
||||||
|
|
||||||
You can exclude folders and files by specifying exclude-patterns. Either
|
You can exclude folders and files by specifying exclude-patterns. Either
|
||||||
specify them with multiple ``--exclude``'s or one ``--exclude-file``
|
specify them with multiple ``--exclude``'s or one ``--exclude-file``
|
||||||
|
|
||||||
|
@ -826,6 +830,10 @@ data that was referenced by the snapshot from the repository. This can
|
||||||
be automated with the ``--prune`` option of the ``forget`` command,
|
be automated with the ``--prune`` option of the ``forget`` command,
|
||||||
which runs ``prune`` automatically if snapshots have been removed.
|
which runs ``prune`` automatically if snapshots have been removed.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
Remove a single snapshot
|
Remove a single snapshot
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue