diff --git a/doc/040_backup.rst b/doc/040_backup.rst index e2c411616..b1a1ea8be 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -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 *********************