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
- Go to Cloudflare Dashboard
- Select R2
- Click Create bucket
- Name your bucket
Create API Token
- Go to R2 > Manage R2 API Tokens
- Click Create API token
- Set permissions: Object Read & Write
- 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
- Open MinIO Console:
http://localhost:9001 - Login with root credentials
- Create bucket:
supascale-backups - 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
- Go to Backblaze B2
- Create account and sign in
- Create bucket:
supascale-backups - Set to Private
Create Application Key
- Go to App Keys
- Click Add a New Application Key
- Name:
supascale - Bucket: Select your bucket
- Capabilities: Read and Write
- 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.coms3.us-west-002.backblazeb2.coms3.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
| Provider | Storage/GB/mo | Egress/GB |
|---|---|---|
| AWS S3 Standard | $0.023 | $0.09 |
| Google Cloud Standard | $0.026 | $0.12 |
| Azure Hot | $0.018 | $0.087 |
| Cloudflare R2 | $0.015 | Free |
| Backblaze B2 | $0.005 | $0.01 |
| MinIO | Server cost | N/A |
Choosing a Provider
| Use Case | Recommended |
|---|---|
| Cost-sensitive | Backblaze B2 |
| No egress fees | Cloudflare R2 |
| Self-hosted | MinIO |
| AWS ecosystem | AWS S3 |
| Google Cloud | GCS |
| Enterprise/Azure | Azure Blob |