doc: explain new/changed/unmodified in the backup summary (#22244)

This commit is contained in:
kalyan authored and GitHub committed 2026-12-02 21:31:55 +00:00
1 parent b21617d3dc
commit f6b8187e10
1 file changed
+15
+15
View File
@@ -183,6 +183,21 @@ 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.
Backup summary
**************
The ``Files:`` and ``Dirs:`` lines at the end of a backup count each file and
directory in the new snapshot exactly once, compared to the parent snapshot
(see `File change detection`_ for how the parent is selected):
* ``new``: the item did not exist in the parent snapshot.
* ``changed``: the item existed in the parent snapshot, but its content or
metadata differs. A directory counts as changed if anything inside it changed.
* ``unmodified``: the item is the same as in the parent snapshot.
If there is no parent snapshot, for example on the first backup, every item is
``new``, and both other counts are zero.
File change detection
*********************