Skip to content

restic-rest-server: enable append-only

Jérome Perrin requested to merge feat/restic-append-only into master

https://restic.readthedocs.io/en/v0.14.0/060_forget.html#security-considerations-in-append-only-mode

To prevent a compromised backup client from deleting its backups (for example due to a ransomware infection), a repository service/backend can serve the repository in a so-called append-only mode. This means that the repository is served in such a way that it can only be written to and read from, while delete and overwrite operations are denied. Restic’s rest-server features an append-only mode, but few other standard backends do. To support append-only with such backends, one can use rclone as a complement in between the backup client and the backend service.

this is what we enable by default in these changes, with an option to keep disabled.

Merge request reports