Questions tagged [backblaze]

Backblaze B2 Cloud Storage is a cloud object storage service from Backblaze. Feel free to post questions about integrating your app with Backblaze B2 via its S3-compatible and native APIs. Questions about general Backblaze B2 support, functionality, configuration, etc. are off-topic.

Backblaze B2 is a strongly consistent cloud object storage web service offered by Backblaze. The Backblaze S3 Compatible API integrates with existing data management tools and S3 gateways; the Backbaze B2 Native API exposes all B2 functionality, including features such as account configuration which are not accessible via the S3 Compatible API.

References

Tutorials

50 questions
1
vote
1 answer

Backblaze Python SDK v2 - serve file response from memory

I want some files (images in this case) in a private bucket on Backblaze to be exposed by an API endpoint in Flask. I'm not sure how to handle the DownloadedFile object that is returned from…
pspahn
  • 2,770
  • 4
  • 40
  • 60
1
vote
1 answer

How can get Buffer from already saved PDF in NodeJs?

I have to upload the pdf file to Backblaze bucket. which accepts Buffer only. PDF file is already stored in one of my directory. i can access that pdf through fs. while uploading i have to give buffer. Which is the best way to get buffer?
Varun Deva
  • 51
  • 1
  • 9
1
vote
1 answer

Ansible S3 object upload to Backblaze returns 403 for PutObjectAcl

I am trying to use Ansible's community S3 task to upload a file to S3 compatible Backblaze but alas no success. My task definition is: - name: Install required dependencies pip: name=boto3 - name: Copy backup files to S3 bucket …
NewUser
  • 73
  • 5
1
vote
1 answer

Use Backblaze to store webapp user's private images?

I want to use Backblaze B2 to store images for small webapp. Users can store (not share!) images in it. How can I use Backblaze so that images are kept private, but can still be accessed through their specific URLs? One way is to download the images…
Mathieu Dhondt
  • 8,405
  • 5
  • 37
  • 58
1
vote
1 answer

Laravel 8 and Backblaze B2 CURL Error could not resolve host

I am trying to setup my Laravel application to upload to Backblaze B2 using the S3 Compatible API. I've setup my .env…
TheDizzle
  • 1,534
  • 5
  • 33
  • 76
1
vote
1 answer

Getting an error "Error: connect ECONNREFUSED 127.0.0.1:80" while sending an image to Backblaze B2

So I've been trying to implement image upload to Backblaze B2 bucket for about three days now. I struggled with getting the data, but I'm getting an error about connection refusing I guess. It returns error code 504 and I've tried fixing it by…
ricemilk
  • 85
  • 1
  • 6
1
vote
1 answer

Allow CORS for b2_delete_file_version

According to the Backblaze B2 documentation: CORS: Cross-Origin Resource Sharing, I can only set cors for those capabilities : b2_download_file_by_id b2_download_file_by_name b2_upload_file b2_upload_part I'm using b2 CLI to define CORS rules for…
Rabie Daddi
  • 174
  • 1
  • 2
  • 10
1
vote
1 answer

postman add header to uploaded file

When I'm trying to upload a file to Backblaze B2 (storage provider) using Postman, a header and footer is being added to all files and seems to be damaged and can't be opened ----------------------------114434797603440341474406 Content-Disposition:…
Rabie Daddi
  • 174
  • 1
  • 2
  • 10
1
vote
1 answer

How to store and use data from BackBlaze B2 using Cloudflare in Flutter app where user data is already being managed in cloud Firestore?

Description of my app: It's a social media type flutter app. Where users can post content and see each other's posts in home page. In my app auth and user data (name, username, email, password, interests and other credentials) is being managed in…
1
vote
0 answers

Docker- Persistent host name

I'm trying to run the container tom300z/backblaze-personal-wine to backup my unraid server. By default, the container uses a hash for the hostname, causing each new configuration to be recognized as a different computer by backblaze and causes a new…
Brandon Piña
  • 614
  • 1
  • 6
  • 20
1
vote
0 answers

Issues loading Images Xcode Swift 5 (SDWebImage/Backblaze used)

i am encountering a weird issue. Short version We have an app in the appstore for multiple months now with a photo feed. We have plenty of users (99,9% in Europe, mostly Central Europe). using SDwebImage for image downloading Backblaze as cloud…
Zash__
  • 293
  • 4
  • 16
1
vote
1 answer

Encoding PDF to Base64 string and using Node.js Buffer.from() results in broken file

I have a frontend where users can upload documents (PDFs). It converts these PDFs to a Base64 string and then sends it to a microservice where it is uploaded to Backblaze B2. This method works fine when uploading e.g. a .jpg file, but when trying it…
Amos
  • 1,154
  • 1
  • 16
  • 35
1
vote
1 answer

Sending Bitmap to Server (B2) via POST not working OKhttpClient HttpURLConnection

I am using Backblaze and managed to upload files (images and videos) to my buckets in my iOS App (swift 5) but I am unable to do so in my java android app. I receive the correct auth token, download url, upload url and API Url. But when I try to…
Zash__
  • 293
  • 4
  • 16
1
vote
1 answer

How to upload file into a specific folder on Backblaze?

Yò! So I've followed this guide on Backblaze and JavaScript. I've successfully uploaded files on my Backblaze bucket, but I can't find a way to define a folder where to upload the files. I've also checked the documentation and it mentions folders…
1
vote
1 answer

Can I use Backblaze B2 to host user image uploads? Their TOS is difficult to understand

I want to build a simple dummy app like OfferUp where users can upload 5 images per listing. I would normally use AWS S3 with Cloudfront to serve these images. Can I do the same with Backblaze B2? Is this an intended usecase for the product?
Some dood
  • 85
  • 5