I’ve been using 0.9.6 for several months now. Backups were looking goods.
I upgraded yesterday to 0.11.0. And now, one of my backups keeps on failing: the restic backup command returns error code 3.
I looked into more details in the various logs, and I noticed that, erratically, a few files to be backed up error out during the ‘restic backup’ with error : permission denied (which is weird, I’m running restic backup as sudo…). This triggers a final result code ‘3’ for the ‘restic backup’ command.
So I went into past days backup logs, and I noticed that I had failed to see that the same errors actually occurred before. But restic 0.9.6 result code was apparently 0 in such cases. Now, restic 0.11.0 reports a result code of 3.
2 questions :
1- Am I correct in assuming that ‘restic backup’ result code changed between 0.9.6 and 0.11.0 in such circumstances?
2- What is the consequence of this in terms of snapshot consistency?
The ‘restic check’ returns no error. So I would tend to say that this only means that not all files were backed up, but over all, the backup terminated properly nevertheless.
As a consequence, if I need to restore these backups, I would ‘simply’ not have those files which caused the ‘permission denied’ issue. But all other files would be restored properly.
Am I right?