Rustic support in Backrest #1160
Replies: 2 comments 15 replies
-
Hi @garethgeorge! There are a few things to note however, which are mainly due to the differences of restic and rustic, see https://rustic.cli.rs/docs/comparison-restic.html:
A better option would be to use the |
Beta Was this translation helpful? Give feedback.
-
One thing hasn't been mentioned here, there are two libraries you can use. One is |
Beta Was this translation helpful? Give feedback.
-
Hey, backrest developer here! Backrest is a multiplatform WebUI for restic. Discovered the rustic project some months ago and as it matures I'm interested to learn more about it / whether it's a good option to support in the WebUI.
Reaching out to learn more about the state of the project and whether rustic is a backend that I might support in the backrest project. To support a new backend it generally needs to support the operations in restic.go in the backrest project.
A quick search of the repo shows that there is some amount of support for JSON output in the code base (which is awesome to see!). Backrest works by forking restic and parsing it's JSON mode output for many commands. I'm interested to hear how close to restic rustic is and what major differences there might be that I'll run into. I'm thinking compatibility may be very easy if there's generally a 1:1 correspondence between the commands and generally the data available in the JSON output from commands (even if the fields are difference this can be addressed by converters).
I notice that rustic also offers a library -- linking against rustic might be an option here too! Questions I have here would mostly be around how I can best capture and surface any rustic logs etc if calling core.
Beta Was this translation helpful? Give feedback.
All reactions