Hi!
A while ago I ran
restic -r repo backup /dir1
Some time after I did
restic -r repo backup /dir2 /dir3
What would happen now if I performed a
restic -r repo backup /dir1 /dir2 /dir3
Would this upload everything again?
Hi!
A while ago I ran
restic -r repo backup /dir1
Some time after I did
restic -r repo backup /dir2 /dir3
What would happen now if I performed a
restic -r repo backup /dir1 /dir2 /dir3
Would this upload everything again?
No it won’t.
Only the files that have changed/are new in any of the 3 directories would be uploaded.
Restic will still read all files again, however, it won’t upload files again that have already been uploaded.
Thanks! And what would happen, if I moved /folder1/folder2 to /folder2?
deduplication works across all repo - does not matter if files are moved or not.
Assuming that these folders are already in your repo then only some metadata will be saved to indicate new dirs structure. No content has to be uploaded again.
Awesome, thanks once again!
I can testify that it is so. I made large moves of files and directories and in the next backup Restic only needed to upload a few megabytes.