rustic v0.7.0 and iDrive S3 backend - how to configure #1044
-
Checking example config - https://github.com/rustic-rs/rustic/blob/main/config/s3.toml
And I am not not sure at all how to use it... Where I put access and secret keys? I found - https://opendal.apache.org/docs/services/s3 - but reading this site does not make me any closer to how to configure rustic to use S3... I think that for such popular backend like S3 it would make sense to provide full example. Something every idiot like myself can simply reuse:) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
You can use [repository.options]
access_key_id = "..."
secret_access_key = "..."
... in your config. This is what I used to successfully test S3 backend (but I didn't test against AWS). AFAIR opendal also reads the commonly used AWS config dirs and env variables like Anyway, if you get a working example please don't hesitate to propose additions to the config files provided! |
Beta Was this translation helpful? Give feedback.
-
As this works:
and this does not:
It looks like s3 backend has some problem collecting all data from toml file. Both examples above contain all the same information. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for investigating. I think we'll add a note in the config file short term and fix the parsing when using |
Beta Was this translation helpful? Give feedback.
Ok this is what works for iDrive:
For
repository = "s3:...
despite trying everything what I could think of does not work.So for now it has to be
repository = "opendal:s3"
way