S3 target
The S3 target stores backups in any S3-compatible service (AWS, MinIO, DigitalOcean Spaces, Backblaze B2, Cloudflare R2).
Config
Section titled “Config”{ "endpoint": "s3.amazonaws.com", "bucket": "my-backups", "prefix": "simpledeploy/myapp", "access_key": "AKIA...", "secret_key": "...", "region": "us-east-1"}| Field | Notes |
|---|---|
endpoint | Empty for AWS S3. Set for MinIO/R2/B2/Spaces. |
bucket | Bucket name (must already exist) |
prefix | Optional key prefix |
access_key / secret_key | Credentials (encrypted at rest with master_secret) |
region | Defaults to us-east-1 |
- Uses AWS SDK v2 with the
feature/s3/managerUploader for streamedPutObject. The manager handles non-seekable readers frompg_dump/tarstdout. - Path-style addressing is enabled when a custom
endpointis set so MinIO, DigitalOcean Spaces, and Backblaze B2 all work. - Credentials are stored encrypted with AES-256-GCM using
master_secret(PBKDF2 key derivation). - Use the “Test S3” button in the UI wizard, or
POST /api/backups/test-s3, to validate credentials before saving.
See also: Backups overview, Local target.