Replies: 6 comments 2 replies
-
Hey there, I think it would be useful to implement an From this POV I'm not sure if it makes sense to implement a backend specifically for rustic or if it wouldn't be better to implement a B2 storage for OpenDal and integrate that. |
Beta Was this translation helpful? Give feedback.
-
Thanks for chiming in! That seems like a good plan/idea (although I am a little bit skeptical about many abstraction layers), and it would be great to spend time integrating one library that offers N storage backends (basically, like This said, I am afraid my rust knowledge (and frankly, probably even my programming experience) is way too weak for that, especially since Happy to put this on hold in any case! |
Beta Was this translation helpful? Give feedback.
-
My personal opinion is, if there is a PR which adds value for some users (and doesn't break anything or introduce disadvantages for other users), it should be merged. About some strategic / design decisions:
|
Beta Was this translation helpful? Give feedback.
-
I understand the general long-term vision of integrating one backend which abstracts many, in this case, the "optimal" solution would be to contribute to opendal, adding support for B2 and later integrated opendal with I will try to work (slowly :) ) on a PR to add B2 support directly into |
Beta Was this translation helpful? Give feedback.
-
Note that we have included opendal in rustic, which will be released soon. S3 support seems to be very mature and is also directly added, all opendal services are accessible via the Feedback is very much appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hey @aawsome that's...awesome! I tried using Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Hello, and thanks for this project! I am following it for a while (especially the split of the library/CLI!).
I am working on a Kubernetes backup solution for my own lab, and I would like to ship backups to B2. I am aware that right now the support for B2 is through
rclone
, but I would like to remove another binary dependency to keep my tool purely in rust and to be more container-friendly.I am by no means a good software developer, and I am very new at
rust
specifically, but I wanted to ask whether you were interested in contributions to add more backends (well, specifically B2), or whether you intended to keep the amount of backends supported minimal and rely onrclone
/REST
(and default) only.If you are not against the idea in principle, I can start putting something together (basically, a
rust(ic)
port of https://github.com/restic/restic/blob/master/internal/backend/b2/b2.go) and open a PR inrustic_core
repo.P.s.
I was questioning whether it would make more sense to open an issue in rustic_core or to ask the question here, hopefully I ended up making the right choice!
Beta Was this translation helpful? Give feedback.
All reactions