Firstly, thanks for providing some great software!
I have a question regarding snapshots. I am running restic 0.9.0.
If I init a new repository and then do a backup with the command:
restic backup —verbose=9 —files-from files-to-include-in-backup.txt
all looks ok and restic reports that all files added to the repository are “new”.
The file “files-to-include-in-backup.txt” looks like this:
If I run the restic command again, it now runs much faster and restic reports that:
- all files under /bigdata are “unchanged”.
If I now add another line to the file “files-to-include-in-backup.txt” so it looks like this:
and run the restic command again, then it reports that:
- all the files under /smalldata are “new” (which I was expecting)
- all files under /bigdata are “new” (which is not what I was expecting)
So my questions are:
Is this expected behaviour? In particular, after adding the /smalldata line to the file and running the backup, I was expecting the files under /bigdata to be reported as “unchanged”.
Does the repository now have two copies of my /bigdata directory?