Restic REST server architecture #11
Labels
No labels
affects/hardware
affects/legal
affects/reproducibility
affects/security
affects/style
affects/usability
blocked by/release 21.05
blocked by/release 21.11
blocked by/release 22.05
blocked by/testing needed
blocked by/testing needed/fuuko
blocked by/testing needed/sayuri
blocked by/upstream
resolution
deferred
resolution
permanent workaround
resolution
upstream wontfix
resolution
wontfix
type
bug
type
chore
type
feature
type
new machine
type
question
type
regression
type
tracking
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: simon/nixos-config#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the future I want to switch to a restic rest-server instance for backups instead of an s3-compatible backend (wasabi).
This has multiple advantages:
Possible implementations
TODO for some of them:
Two instances
Problems
No append-only mode, HTTPS
Only run full access instance (with basic auth over HTTPS).
Problems
Nginx as API filter
DELETE
methods (return 403
)GET {path}/{type}/{name}
requests is also possibleNginx as API filter, but slower
Like Nginx as API filter, except that the limited access is provided via https and authentication happens with basic auth.
rest server api docs: https://restic.readthedocs.io/en/stable/100_references.html#rest-backend
Combined with other method: VPN instead of HTTPS
To make this work well, the host running the rest server should be added as peer to the wireguard tunnel, so traffic to it will be routed directly (and not via my slow home network).
simon referenced this issue2021-01-06 23:00:49 +01:00
Closing, since I will use it only for huge files, not for all backups. Using rest-server’s integrated .htpasswd authentication is okay for that scenario.