ooni / backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
BSD 3-Clause "New" or "Revised" License
48 stars 28 forks source link

Database backup: safer table backup workflow #767

Closed FedericoCeratto closed 3 months ago

FedericoCeratto commented 8 months ago

Improve https://github.com/ooni/backend/blob/master/analysis/ooni_db_backup.py to create a safer workflow. Each table found in the default database should be listed in /etc/ooni/db-backup.conf and flagged for public backup or private backup or no backup.

If any table is unlisted the DB backup tool should send an alert on Slack

Related to #766

hellais commented 3 months ago

See: https://github.com/ooni/backend/issues/765