Is there a way to avoid re-reading all files after adding or removing backup directories?
For example, the original backup command
restic backup /a /b
Later changed to
restic backup /a /b /c
Is there a way to avoid re-reading all the files in /a /b?
The files in /a and /b are very large, and re-reading them would take a lot of time.
Yes, there is indeed. You can use the --parent option to the backup command to tell restic which previous snapshot ID it should rely on. Use the latest snapshot ID from the restic backup /a /b.
Thank you.
Humans are still more reliable than AI. I’ve asked several AIs, and they all said there’s no solution.