NPBackup viewer read-only repository
I have an amazon S3 repository and I want to give read-only access to some users. However, I am encountering the following error:
Save(<lock/31f52c3db1>) failed: client.PutObject: Access Denied.
unable to create lock in backend: client.PutObject: Access Denied.
This is because restic is trying to create a lock to open the repository.
It would be useful if restic could be run with the --no-lock option for the viewer. Since it doesn't modify the repository, having the --no-lock option would be useful for read-only access keys.
Excellent idea. Will be part of next release.
Implemented in current git master. I'll leave this open until release that should happen somewhere by beginning of next week.
New version released (with big delay). Closing this. Thank you for reporting.