-
Notifications
You must be signed in to change notification settings - Fork 145
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
Add 'write-only' mode #192
base: master
Are you sure you want to change the base?
Conversation
Write-only mode allows only backup. So there is no way to read data from repo (except metadata)
will update docs if accepted |
Dear Maintainers, Is there a way to have this merged? I've opened a pull request for @dionorgua, fixing the lint bug, but he haven't responded yet. I can also see that it currently has conflicts with the main branch. Can I do something to resolve the conflicts? |
I'm using it locally and I'm happy with it. But it's not very easy to use. The most important thing is that backup to PS. I'm ready to resolve conflicts and fix it if it's going to be merged. |
Currently this PR not only breaks at the test/lint step, but also conflicts with the main branch. @dionorgua can you please do a fresh fork and reimplement your changes to it? In my opinion, it would be easier to have it fixed this way rather then fixing the current conflicts with the main branch. Please note that it's just my subjective opinion, I'm not a maintainer. Also, I'm willing to lend my helping hand in having this fixed. I would love if this function could land in a future release. |
@szenti I'm not sure that it's going to be merged at all due to limitations that I've described in previous comment. |
Write-only mode allows only backup. So there is no way to read data from repo (except metadata)
What is the purpose of this change? What does it change?
Currently we've
--append-only
mode that tries to minimize risks if machine whererestic
is launched is compromised. Basically it makes sure that attacker can't delete existing data from snapshot.This adds
--write-only
mode that also disables 'restore' of existing data from repository. If repository is shared to save space, attacker can't get data that was uploaded from other systems.I know that
restic
threat mode assumes that backup host is trusted, butappend-only
here is in exactly same situation.Was the change discussed in an issue or in the forum before?
#110
Checklist
changelog/unreleased/
that describes the changes for our users (template here)gofmt
on the code in all commits