-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathlitestream.yml.example
More file actions
14 lines (14 loc) · 752 Bytes
/
Copy pathlitestream.yml.example
File metadata and controls
14 lines (14 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Litestream continuous-backup config for the self-host SQLite DB (SAMPLE — placeholders only).
# Streams /data/gittensory.sqlite to your object store so you can restore to any point in time.
# Copy to litestream.yml, edit the bucket/endpoint, and mount it at /etc/litestream.yml (see docker-compose.yml).
# Docs: https://litestream.io
dbs:
- path: /data/gittensory.sqlite
replicas:
- type: s3
bucket: your-backup-bucket
path: gittensory
# For S3-compatible stores (Backblaze B2, MinIO, R2) set the endpoint; omit it for AWS S3.
endpoint: ${LITESTREAM_ENDPOINT}
region: ${LITESTREAM_REGION}
# Credentials come from the environment (LITESTREAM_ACCESS_KEY_ID / LITESTREAM_SECRET_ACCESS_KEY).