BackBlaze
From Indie IT Wiki
Revision as of 16:01, 6 August 2021 by Plittlefield (talk | contribs)
Introduction
BackBlaze is an online secure storage service which is compatible with AWS S3 commands but is a fraction of the cost of AWS S3.
https://www.backblaze.com/b2/cloud-storage.html
Pricing
($/GB/Month)
S3 = $0.021 B2 = $0.005
https://www.backblaze.com/b2/cloud-storage-pricing.html
AWS S3 Compatible
Create your bucket in the web admin account and create an API key, then edit your existing AWS CLI config files to add a BackBlaze B2 profile...
~/.aws/config
[b2] region = eu-central-003 output = json
~/.aws/credentials
[b2] aws_access_key_id = your b2 app key id aws_secret_access_key = your b2 app key secret
List all buckets...
aws --profile b2 s3 --endpoint https://s3.eu-central-003.backblazeb2.com ls
List contents of a bucket...
aws --profile b2 s3 --endpoint https://s3.eu-central-003.backblazeb2.com ls s3://my-bucket-name/
Upload a file to a bucket...
aws --profile b2 s3 --endpoint https://s3.eu-central-003.backblazeb2.com cp filename.txt s3://my-bucket-name/