Event Database Backups
You can configure redundant backups for the event database by providing multiple
BACKUP_<NAME>
groups.
Scouter Analytics uses DuckDB
parquet export,
and thus uses the same keys as required by
DuckDB secrets, prefixed with BACKUP_<NAME>
.
BACKUP_<NAME>_SCHEDULE
is any valid cron expression.
/etc/systemd/system/analytics.service.d/backups.conf
[Service]
Environment=BACKUP_<NAME>_TYPE=
Environment=BACKUP_<NAME>_ENDPOINT=
Environment=BACKUP_<NAME>_KEY_ID=
Environment=BACKUP_<NAME>_SECRET=
Environment=BACKUP_<NAME>_REGION=
Environment=BACKUP_<NAME>_BUCKET=
Environment=BACKUP_<NAME>_PREFIX=
Environment=BACKUP_<NAME>_SCHEDULE=