Other Providers

Configure Cloudflare R2, MinIO, and Backblaze for backups.

Supascale supports additional S3-compatible storage providers.

Cloudflare R2

S3-compatible storage with zero egress fees.

Create R2 Bucket

  1. Go to Cloudflare Dashboard
  2. Select R2
  3. Click Create bucket
  4. Name your bucket

Create API Token

  1. Go to R2 > Manage R2 API Tokens
  2. Click Create API token
  3. Set permissions: Object Read & Write
  4. Copy Access Key ID and Secret Access Key

Configure in Supascale

curl -X POST https://supascale.example.com/api/v1/cloud-storage \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Cloudflare R2",
    "type": "r2",
    "isDefault": false,
    "s3Config": {
      "accessKeyId": "your-r2-access-key",
      "secretAccessKey": "your-r2-secret-key",
      "endpoint": "https://your-account-id.r2.cloudflarestorage.com",
      "bucket": "your-bucket-name",
      "region": "auto"
    }
  }'

R2 Benefits

  • Zero egress fees - Download backups for free
  • S3-compatible - Works with existing tools
  • Global network - Fast worldwide access
  • Competitive pricing - $0.015/GB/month

MinIO

Self-hosted S3-compatible storage.

Deploy MinIO

Using Docker:

docker run -d \
  --name minio \
  -p 9000:9000 \
  -p 9001:9001 \
  -v /data/minio:/data \
  -e "MINIO_ROOT_USER=minioadmin" \
  -e "MINIO_ROOT_PASSWORD=minioadmin" \
  minio/minio server /data --console-address ":9001"

Create Bucket and Access Key

  1. Open MinIO Console: http://localhost:9001
  2. Login with root credentials
  3. Create bucket: supascale-backups
  4. Create access key in Identity > Access Keys

Configure in Supascale

curl -X POST https://supascale.example.com/api/v1/cloud-storage \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "MinIO",
    "type": "minio",
    "isDefault": false,
    "s3Config": {
      "accessKeyId": "your-minio-access-key",
      "secretAccessKey": "your-minio-secret-key",
      "endpoint": "http://minio-server:9000",
      "bucket": "supascale-backups",
      "region": "us-east-1",
      "pathStyle": true
    }
  }'

MinIO Benefits

  • Self-hosted - Complete control
  • S3-compatible - Standard API
  • Open source - Free to use
  • High performance - Optimized for speed

Backblaze B2

Cost-effective cloud storage.

Create B2 Bucket

  1. Go to Backblaze B2
  2. Create account and sign in
  3. Create bucket: supascale-backups
  4. Set to Private

Create Application Key

  1. Go to App Keys
  2. Click Add a New Application Key
  3. Name: supascale
  4. Bucket: Select your bucket
  5. Capabilities: Read and Write
  6. Save keyID and applicationKey

Configure in Supascale

curl -X POST https://supascale.example.com/api/v1/cloud-storage \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Backblaze B2",
    "type": "backblaze",
    "isDefault": false,
    "s3Config": {
      "accessKeyId": "your-b2-key-id",
      "secretAccessKey": "your-b2-application-key",
      "endpoint": "https://s3.us-west-002.backblazeb2.com",
      "bucket": "supascale-backups",
      "region": "us-west-002"
    }
  }'

B2 Endpoints

Find your endpoint at bucket details:

  • s3.us-west-000.backblazeb2.com
  • s3.us-west-002.backblazeb2.com
  • s3.eu-central-003.backblazeb2.com

B2 Benefits

  • Low cost - $0.005/GB/month
  • Free egress - First 3x storage free
  • S3-compatible - Standard API
  • Durable - 11 nines durability

Local Storage Provider

Configure a local/network path as storage:

curl -X POST https://supascale.example.com/api/v1/cloud-storage \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Network Storage",
    "type": "local",
    "isDefault": false,
    "localConfig": {
      "path": "/mnt/nas/supascale-backups"
    }
  }'

Use for:

  • NAS/SAN storage
  • Network-mounted drives
  • Secondary local drives

Cost Comparison

ProviderStorage/GB/moEgress/GB
AWS S3 Standard$0.023$0.09
Google Cloud Standard$0.026$0.12
Azure Hot$0.018$0.087
Cloudflare R2$0.015Free
Backblaze B2$0.005$0.01
MinIOServer costN/A

Choosing a Provider

Use CaseRecommended
Cost-sensitiveBackblaze B2
No egress feesCloudflare R2
Self-hostedMinIO
AWS ecosystemAWS S3
Google CloudGCS
Enterprise/AzureAzure Blob