-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend openDAL Backend cannot be loaded: scheme is not enabled or supported #1161
Comments
Is this the issue here? https://github.com/rustic-rs/rustic_core/blob/f1f73dbfa3b47f65fb55da2ba45062de32436bc1/crates/backend/Cargo.toml#L91 You've only seemingly included some of the available services
Surely there's a way to include everything by default (to accomodate new services that get added in the future, without needing to monitor them) and then selectively exclude specific ones (like stfp for windows)? I'm eager to incorporate rustic into an open-source tool and the opendal backend would make this much easier. So, I hope this can get fixed and pushed into a new release soon! |
I tried patching in OpenDAL OneDrive backend and using it. But there was no documentation about how to get the Then I tried using GNOME's built-in OneDrive support via FUSE. This failed because there are memory leaks 😆 reported here: https://gitlab.gnome.org/GNOME/gvfs/-/issues/742 |
The saga continues. I eventually got FUSE/GVFS/OneDrive backup done, by doing it chunk by chunk and restarting GVFS daemon before it leaked too much. But now I have repository corruption that cannot be resolved with TL;DR: I found that The documentation for rclone was a bit scarce, but I needed to run More info on rclone OneDrive support here: https://rclone.org/onedrive/ |
@nickchomey We are trying to prepare a patch version 0.8.1 soon and I think we can integrate the fix there. |
@aawsome There seem to be at least 60 services supported by OpenDAL, but you only added three. Perhaps rather than manually tracking this - which will always be a huge hassle - you can find a way to just automatically parse the available features/services? |
@intgr what are you using these days for rustic + onedrive? still rclone? |
Yes, rclone works great. |
@nickchomey Thanks for your suggestion. Moreover, as opendal designed the services as opt-in, there is no easy way to just just use all or maybe only opt-out non-needed services. Acuatally even in their self-provided CLI |
Ok. Thanks for providing onedrive! |
I am getting this error when I try to use onedrive and gdrive. I assume it is the case for others too..
backend openDAL Backend cannot be loaded: Unsupported (permanent) at , context: { scheme: onedrive } => scheme is not enabled or supported
Here's what OpenDAL says about onedrive
https://docs.rs/opendal/latest/opendal/services/struct.Onedrive.html
When I change it to
opendal:gdrive
i get the same thing.But if I try b2 or s3, it just gives me an error regarding the bucket being invalid (since I didnt provide any credentials for it). That suggests to me that onedrive, gdrive and others are simply broken - either within OpenDAL itself or, more likely, how it was integrated into Rustic
The text was updated successfully, but these errors were encountered: