Files
sqlite-backup-s3/.env.example
T
vasyansk 3183bf5267
docker-build / Build image (push) Successful in 25s
Add KEEP_LAST retention policy for backups
Add KEEP_LAST environment variable to always preserve the N most recent
backups regardless of age, preventing data loss when backups haven't
been created for extended periods. Defaults to 10 copies.
2026-09-01 12:09:19 +07:00

15 lines
410 B
Bash

DB_FILE=/data/db.sqlite
CRONTAB="00 06 * * *"
DELETE_AFTER=10
KEEP_LAST=10
TZ=Asia/Novosibirsk
MINIO_PATH=myminio://sqlite/master/
MINIO_ACCOUNT_ID=account
MINIO_APPLICATION_KEY=key
MINIO_ENDPOINT=https://s3.domain.ru
MINIO_LOCATION=ru-nsk
# healthchecks.io (self-hosted instance is fine), leave empty to disable
HEALTHCHECK_URL=https://hc.domain.ru/ping
HEALTHCHECK_UUID=00000000-0000-0000-0000-000000000000