Skip to content

NPBackup viewer read-only repository #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jmigual opened this issue Apr 14, 2025 · 2 comments
Open

NPBackup viewer read-only repository #155

jmigual opened this issue Apr 14, 2025 · 2 comments
Labels
enhancement New feature or request next

Comments

@jmigual
Copy link

jmigual commented Apr 14, 2025

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.

@deajan deajan added enhancement New feature or request next labels Apr 15, 2025
@deajan
Copy link
Contributor

deajan commented Apr 15, 2025

Excellent idea. Will be part of next release.

@deajan
Copy link
Contributor

deajan commented Apr 16, 2025

Implemented in current git master. I'll leave this open until release that should happen somewhere by beginning of next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next
Projects
None yet
Development

No branches or pull requests

2 participants