Backups
Three backup targets:
- Local disk — a copy of the
.fdbfile, optionally gzipped. - SFTP — requires an optional build with
golang.org/x/crypto. - S3-compatible storage — a built-in AWS SigV4 implementation, no SDK.
Verified against: AWS, Yandex Object Storage, MinIO, Wasabi, Backblaze B2, DigitalOcean Spaces, Cloudflare R2, Hetzner, Selectel, VK Cloud.
curl -X POST $URL/api/backup -H "X-Token: $TOK" -d '{
"target": "s3",
"compress": true,
"s3_bucket": "my-backups",
"s3_region": "ru-central1",
"s3_key": "AKIA...",
"s3_secret": "...",
"s3_object_key": "filedb/prod-20260516.fdb.gz"
}'
Retention settings (how many backups to keep, by count and/or age) are set via the -backup-retention-* flags or the matching config keys — see the Deployment page.
Related pages
← Previous
File import