Hello !
It’s been a while that I perform daily snapshots of one directory ‘/foo’:
restic backup --repo=local:<my local path> --skip-if-unchanged --dry-run /foo
However, now I want to add another directory ‘/bar’ but I understand that when changing paths:
restic backup --repo=local:<my local path> --skip-if-unchanged --dry-run /foo /bar
It does not find a parent snapshot:
no parent snapshot found, will read all files
So all files (even on ‘/foo’) appear as new, for example :
new /foo/<file>, saved in 0.006s (0 B added, 0 B stored)
I am afraid to perform the backup because I don’t understand well what the effect will be on my local repo and the snapshots. I understand this issue has been mentioned and a PR is ongoing : backup --files-from-verbatim allow merging snapshots by gmgigi96 · Pull Request #3405 · restic/restic · GitHub
- What will be the consequences of performing backup as is (without the PR) on my local repo and snapshots history ?
- What would you suggest in this use case ?
Thank you,
My restic version is:
restic 0.19.1 compiled with go1.26.4-X:nodwarf5 on linux/amd64