BackBlaze B2 Revision as of Wednesday, 22 March 2023 at 16:46 UTC

Some notes on using the service which, as of this writing, offers

Installation

# On macOS. The command is `b2`
brew install b2-tools

# On Ubuntu. The command is `backblaze-b2`
apt install backblaze-b2

Setup

Log into your profile and set up an “Application Key”. It has two components: an ID and a Value. That’s what you’ll be configuring the b2 command with.

b2 authorize-account {keyID} {applicationKey}

Usage

# List all buckets
b2 list-buckets

# Upload a file
b2 upload-file my-bucket/ riffraff.tgz

# Upload a file and call it something else
b2 upload-file my-bucket/ riffraff.tgz foobar.tgz