Files
drawit/litestream.yml
T
2026-06-17 10:15:27 -05:00

14 lines
538 B
YAML

# Example Litestream config — the SQLite equivalent of wal-g.
# Litestream continuously streams the WAL to off-box storage (S3, etc.).
# Start with: litestream replicate -config litestream.yml
#
# WAL journaling must be enabled on the DB (DrawIt does this automatically).
dbs:
- path: ./data/drawit.db
replicas:
- type: s3
bucket: your-bucket-name
path: drawit
endpoint: https://s3.your-region.example.com
# Credentials come from env: LITESTREAM_ACCESS_KEY_ID / LITESTREAM_SECRET_ACCESS_KEY