Event Database Backups

You can configure redundant backups for the event database by providing multiple BACKUP_<NAME> environment variable groups.

Scouter Analytics uses DuckDB's s3 export in parquet format, and thus uses the same keys as required by DuckDB secrets, prefixed with BACKUP_<NAME>, where <NAME> is an arbitrarily defined label. BACKUP_<NAME>_SCHEDULE is any valid cron expression.

/etc/systemd/system/scouter-analytics.service.d/events-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=