BackBlaze
From Indie IT Wiki
Revision as of 15:59, 6 August 2021 by Plittlefield (talk | contribs) (Created page with "== Introduction == == Pricing == == AWS S3 Compatible == Create your bucket in the web admin account and create an API key, then edit your existing AWS CLI config files t...")
Introduction
Pricing
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/