First time using restic, trying it out so please bear with me. Using the latest stable version, 0.9.5, 64 bit, on Windows 10
I have a hierarchy of ~200k small files.
The first backup took 35 mins:
“processed 265958 files, 17.595 GiB in 35:49”
When I repeated the same command, without any file changed, it took 10 mins, see below.
I would have thought that once the hierarchy is scanned and the index is loaded, restic would just compare one against the other and upon seeing that they are identical, it would stop right there, after the 20 seconds it took to scan the directory and load the index… Why does it start going through and reading the files from the hierarchy (“start backup”)?
J:\restic_backups>restic -r repo1 --verbose --password-file J:\restic_backups\p1.txt backup e:/me
repository c5d5168c opened successfully, password is correct
load index files
using parent snapshot 41e8514a
start scan on [e:/me]
start backup on [e:/me]
scan finished in 21.507s: 265960 files, 17.595 GiB
error: open \?\e:\me\1\TFS_Workspace.Me2\FirstTeamProject\Backup\Online backup.vs\ConsoleBackupWithS3\v15\Server\sqlite3\db.lock: The process cannot access the file because it is being used by another process.
error: open \?\e:\me\1\TFS_Workspace.Me2\FirstTeamProject\TextGeneral.vs\TextGeneral\v15\Browse.VC.opendb: The process cannot access the file because it is being used by another process.
Files: 0 new, 0 changed, 265958 unmodified
Dirs: 0 new, 0 changed, 1 unmodified
Data Blobs: 0 new
Tree Blobs: 0 new
Added to the repo: 0 B
processed 265958 files, 17.595 GiB in 10:59
snapshot 81195af7 saved