StorafleetStorafleet

/// CREATE A BUCKET / BACKBLAZE B2

Create a Backblaze B2 Bucket

Want a cheap second copy or a dedicated backup target? Backblaze B2 is about the lowest dollar-per-GB you'll find, which makes it ideal for backups and cold storage. It speaks the S3-compatible API, so storafleet treats a B2 bucket like any other Fleet. Create the bucket here, then connect and sync to it from storafleet.

B2 is the value play — keep your hot data wherever it lives today and point a recurring sync at B2 as your low-cost backup tier. Same drag-and-drop, a fraction of the bill.

Create a Backblaze account

Sign up at backblaze.com/cloud-storage and then sign in to the web console at secure.backblaze.com. A Backblaze B2 account is tied to a single region (for example us-west-004) — every bucket you create lives in that region, which also determines your S3 endpoint below.

Create a B2 bucket

Screenshot: the create-bucket dialog — the name here becomes the Fleet's bucket.

From the web console, follow Backblaze's official bucket guide:

  1. In the left navigation under B2 Cloud Storage, click Buckets.
  2. Click Create a Bucket.
  3. Enter a globally unique bucket name, then set Files in Bucket are to Private — see the Private-vs-Public note below before you pick Public.
  4. Optionally enable server-side encryption or Object Lock, then click Create a Bucket.
  5. On the Buckets page, copy the value in the Endpoint field — you'll need it to connect (see Find your S3 endpoint).
Private vs Public — choose Private. A Private bucket's files are reachable only with your application key (or a short-lived presigned link) — which is exactly how storafleet serves them, so previews, downloads and uploads all work. A Public bucket makes every file readable by anyone with the URL, no authentication — and Backblaze requires a card on file (a one-time ~$1 charge) to enable it. storafleet never needs a public bucket, so keep it Private and skip the payment step entirely.
Backblaze B2 buckets are versioned by default — "Keep All Versions" is the default, so every version of every file is retained until you delete it or set a Lifecycle Rule. That's exactly what you want for a backup bucket. See Backblaze's File Versions docs.

Create an application key

Screenshot: the provider's key / secret confirmation screen — copy both values now (the secret is often shown only once).

storafleet authenticates with a B2 application key, which maps cleanly to S3-style credentials: the keyID is your Access Key ID and the applicationKey is your Secret Access Key. Following Backblaze's application keys guide:

  1. In the left navigation under B2 Cloud Storage, click Application Keys.
  2. Click Add a New Application Key and give it a name.
  3. Under bucket access, select your specific bucket (not "All"), and choose Read and Write so storafleet can sync both ways.
  4. Click Create New Key and copy both the keyID and the applicationKey.
Use an application key scoped to this one bucket with the minimum access you need — never use your master application key, which grants full account access. Also note: the applicationKey (your secret) is shown only once when you create it. Copy it immediately and store it somewhere safe — you can always find the keyID later, but a lost applicationKey means generating a new key.

Find your S3 endpoint

B2's S3-compatible endpoint has the form https://s3.<REGION>.backblazeb2.com and accepts connections only over HTTPS. The Endpoint value shown next to your bucket on the Buckets page is exactly this — for example s3.us-west-004.backblazeb2.com. Your region is the second segment of that hostname (here, us-west-004). See Backblaze's S3-Compatible API reference.

Connect it to storafleet

Screenshot: Storafleet's Create Fleet wizard with this provider selected and the endpoint + keys filled in — the step that unsticks a first-timer.

You now have everything storafleet needs: the bucket name, your S3 endpoint and region, and an application key (keyID + applicationKey). Head to Connect Backblaze B2 to add it as a Fleet using the custom endpoint and access-key flow.

To put B2 to work as your low-cost backup tier, set up a recurring copy from your primary bucket into B2 — walk through it on the Migration & backup sync guide.