From 0c0a8e3d2b70d5a9173cbd3b4880ea56e81afd71 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 2 Oct 2018 14:21:08 +0200 Subject: [PATCH] docs: Explain recognizing modified files --- doc/040_backup.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 43657186b..0ca976c5e 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -121,7 +121,12 @@ can compute which parts of the files need to be saved. When you backup the same directory again (maybe with new or changed files) restic will 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 -decided based on the modify date of the file in the file system. +decided based on the following attributes of the file in the file system: + + * Type (file, symlink, or directory?) + * Modification time + * Size + * Inode number (internal number used to reference a file in a 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