Elwig: Add BackupService
Test / Run tests (push) Successful in 2m48s

This commit is contained in:
2026-08-26 10:39:50 +02:00
parent 163fe0fac8
commit ca5b719630
12 changed files with 267 additions and 84 deletions
+1
View File
@@ -13,5 +13,6 @@ Data and configuration folder
C:\ProgramData\Elwig\
- config.ini : main configuration file
- database.sqlite3 : stores all data
- backups\ : (automatic) backups of the database
- imported.txt : list of all imported *.elwig.zip files to not automatically import them again
- mails\ : sent/outgoing email log
+9
View File
@@ -3,6 +3,7 @@
; Only needed, if more than one branch is stored in database
;branch = Zweigstelle
;debug = true
;weighing = gross ; gross/net/box
[database]
; Relative or absolute path to database file
@@ -10,6 +11,14 @@ file = database.sqlite3
; Enables database logging
;log = db.log
[backup]
;auto = false
;path = backups
;retain_hours = 36
;retain_days = 8
;retain_weeks = 6
;retain_months = 18
[update]
url = https://elwig.at/files/elwig/latest
auto = true