-
Notifications
You must be signed in to change notification settings - Fork 156
Add write-only mode #110
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
Comments
This sounds a bit like a hack that depends on restic internal behavior that can change with any release and break such a setup. I don't think it's a good idea to support such a feature before restic itself officially supports such a setup. |
I agree that this is a bit tricky, but can't say that it much different from Whole rest-server itself depends on restic internal behavior and can't be replaced with something standard like WebDAV. Currently They were even hosted in one git repo in the past. PS. Currently |
Did you know about the asymmetric encryption feature idea? restic/restic#187 |
Asymmetric encryption is related but not same.. But it also have exactly same challenges: restic needs a way to download and decrypt current index and latest snapshot tree. Or just fallback to full backup mode in case of empty local cache. |
Uh oh!
There was an error while loading. Please reload this page.
Output of
rest-server --version
rest-server 0.9.7 compiled with go1.10 on linux/amd64
What should rest-server do differently?
Currently we've
--append-only
mode that tries to minimize risks of access to repo by attacker from compromised host.So there is no way to remove data from repo. But there is still a way to 'restore' whatever attacker wants from
--append-only
repo.It would be great to also have
--write-only
like option to completely disable read access todata
subdir. I know that restic may need it during backup, but it's actually not strictly required: usually parent snapshot is already cached. And when not cached, it's still possible to perform slower backup with--force
option that don't need that snapshot at all. Ideallyrestic
should be aware of suchwrite-only
repo and automatically fallback to--force
but not necessary.The text was updated successfully, but these errors were encountered: