Add configurable retries for locked SQLite backups
docker-build / Build image (push) Successful in 11s
docker-build / Build image (push) Successful in 11s
Add SQLITE_TIMEOUT, BACKUP_RETRIES, and BACKUP_RETRY_DELAY environment variables to handle "database is locked" errors during backup. Retry the sqlite3 .backup command with configurable timeouts and delays, and clean up any WAL/SHM files that may interfere with subsequent attempts. Bump version to 1.2.2.
This commit is contained in:
@@ -14,6 +14,9 @@ services:
|
||||
- DELETE_AFTER
|
||||
- KEEP_LAST
|
||||
- TZ
|
||||
- SQLITE_TIMEOUT
|
||||
- BACKUP_RETRIES
|
||||
- BACKUP_RETRY_DELAY
|
||||
- MINIO_PATH
|
||||
- MINIO_ACCOUNT_ID
|
||||
- MINIO_APPLICATION_KEY
|
||||
|
||||
Reference in New Issue
Block a user