Backblaze B2 (b2)

The b2 backend stores archives in Backblaze B2 cloud storage.

Configuration

# Example aegis.toml configuration:
[backends.my-b2-backend]
type = "b2"
b2_key_id = ...
b2_key = ...
bucket_name = "my-b2-bucket"
prefix = "path/in/bucket" # Optional

Options

OptionTypeRequiredDescription
typeStringYesMust be "b2"
b2_key_idStringYesBackblaze B2 application key ID
b2_keyStringYesBackblaze B2 application key
bucket_nameStringYesName of the B2 bucket to use
prefixOptionNoPath prefix within the bucket

Storage Structure

Within the bucket (and optional prefix), Aegis creates:

{prefix}/
├── blobs/
│   ├── ab/ab123...
│   └── cd/cd456...
└── snapshots/
    └── {repo-name}/
        ├── 2024-01-01T12:00:00Z
        └── 2024-01-02T12:00:00Z