rest-server icon indicating copy to clipboard operation
rest-server copied to clipboard

use s3 like backend exclude rest-server like restic client

Open kuyagic opened this issue 3 years ago • 6 comments

Use s3 like backend exclude rest-server like restic client will make rest-server a bridge between client and the backend with append-only support and user isolated repo

kuyagic avatar Sep 07 '21 12:09 kuyagic

This is a duplicate of #39. That issue was closed, but I would actually be interested in reopening it. It would probably not be too hard to add pluggable filesystem backends with the new Repo abstraction.

wojas avatar Sep 07 '21 13:09 wojas

@wojas what is the difference between this approach over rclone serve restic --append-only?

Enrico204 avatar Sep 08 '21 16:09 Enrico204

Ah, looks like rclone server restic is pretty feature complete.

With the current feature set there is no strong case for a rest-server S3 backend then. This might change in the future as we add new features to rest-server.

wojas avatar Sep 09 '21 03:09 wojas

How to handle retention if rclone serve restic with --append-only is used?

engel75 avatar Jan 21 '22 14:01 engel75

Kind of ugly but I would setup a second rclone serve restic without the --append-only maybe an endpoint that listens to loopback only and then you have a restic forget cronjob against the second rclone.

Raboo avatar Apr 21 '22 08:04 Raboo

Kind of ugly but I would setup a second rclone serve restic without the --append-only maybe an endpoint that listens to loopback only and then you have a restic forget cronjob against the second rclone.

restic forget rclone:~~~ is more simple way i think

tribela avatar Aug 19 '22 03:08 tribela