Skip to content
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

New Provider: BackBlaze B2 #154

Closed
AIVAS001 opened this issue Nov 3, 2018 · 5 comments
Closed

New Provider: BackBlaze B2 #154

AIVAS001 opened this issue Nov 3, 2018 · 5 comments

Comments

@AIVAS001
Copy link

AIVAS001 commented Nov 3, 2018

It would be nice to have access to BackBlaze B2 online storage.
https://www.backblaze.com/b2/cloud-storage.html

API Docs:
https://www.backblaze.com/b2/docs/

Cheers

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 7, 2019

Vote for this new provider, if you would like to see it implemented.

@Kyrodan
Copy link
Owner

Kyrodan commented Jan 23, 2020

No .NET-SDK avaialable by Backblaze itself.
Possible library that can be used: https://github.com/coryrwest/B2.NET

@vrelk
Copy link

vrelk commented Jun 20, 2020

You should be able to use the S3 SDK. Just leave things as textboxes and let people enter the info themselves, then it should work for any S3 compatible provider, not just Backblaze.

Example for MinIO:

RegionEndpoint = RegionEndpoint.USEast1, // MUST set this before setting ServiceURL and it should match the `MINIO_REGION` environment variable.
ServiceURL = "http://localhost:9000", // replace http://localhost:9000 with URL of your MinIO server
ForcePathStyle = true // MUST be true to work correctly with MinIO server

Backblaze allows you to setup an account and has a generous free tier, so you can play around with it.

New Provider: S3 Compatible
Options:

  • Access Key - nothing different from AWS
  • Secret Key - nothing different from AWS
  • Endpoint - Type: textbox
  • Region - Type: textbox
  • Path Style - Type: checkbox (probably checked by default)

If you allow any hostname to be entered, it could easily work for any S3 compatible provider, including ones you host yourself (MinIO).
https://docs.min.io/docs/how-to-use-aws-sdk-for-net-with-minio-server.html

@Kyrodan Kyrodan added this to the 2.0.0 milestone Feb 19, 2021
@Kyrodan
Copy link
Owner

Kyrodan commented Feb 19, 2021

@AIVAS001 @vrelk
Please test Beta-Build from #252 (comment)

@Kyrodan
Copy link
Owner

Kyrodan commented May 18, 2021

Releases v2.0.0 today.

@Kyrodan Kyrodan closed this as completed May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants