I almost thought it took six months for you to complete that initial backup, since it’s been about six months since you last posted (before this time)
Yes, restic will tell you if it was unable to fullfill its duty, and will retry failed operations. Sometimes too much IMO, but in your case it has simply retried the requests until it succeeded (otherwise it wouldn’t have told you that it created a snapshot in the end).
It added 238.573 GiB like it says - the other number 432.862 GiB is what it processed. Due to e.g. deduplication the end result is smaller than the size of the data set you asked it to backup/process. I’m not sure if excluded files are counted in that last number, but it doesn’t matter in this case.
I too think it looks good, you should have a proper first snapshot there.
That makes total sense, and I noticed I had added an entry to the “restic.exclude” file that I had forgotten it there:
That was the directory that was missing to make up for the rest of the ~200GB missing.
However, even though I removed that entry from that exclude file and re-ran Restic Backup, it appears that the latest snapshot still doesn’t have that folder, and the output says it only added ~100Mb (from other changed files).
If I am removing an exclusion from the “restic.exclude” file, shouldn’t the next snapshot backup those missing files?
I double-checked the rest of the exclusions, and nothing should prevent that folder from backing up.
Also, it’s definitely included under “/opt” in the “restic.include” file.
It should indeed. If it doesn’t I think you need to show the complete command and the include and exclude files, otherwise we can only guess. Another thing you can do is simply try to restore one or more of that directory’s files, to verify that they were indeed not backed up (which is what you expect).
Thanks for correcting me, I’m an idiot, of course that’s what you expect. So you did use restic restore or restic ls or restic mount to verify that the directory/files are really not backed up? Which path is it you removed from the exclude file and that you are missing when you run subsequent backups? Can you show the complete output of the run?
You’re definitely not an idiot - you’re trying to help me here, and I appreciate that a lot.
Do you want to know who’s an idiot? Me…
No idea what happened, or I was probably just looking at an older snapshot,
but I’ve just double-checked now (while I was building a reply to you), and the un-excluded folder is there… [facepalm]
Thanks very much! Everything is working well.
Restic absolutely rocks… it just works well!
Does this mean that the original amount of data that was uploaded, around 200 GB, contained all the data (including the directory you removed from the excludes later on)? Or did restic add some hundred GBs of data after you removed the exclude?