python-mapswipe-workers
python-mapswipe-workers copied to clipboard
Restore backup regulary (Postgres)
To make sure backups are working they should be restored regulary.
On the current dev server restore is possible by running the docker container postgres_recovery
as mapswipe_backup user:
rm -r pgdata_restored
docker-compose up -d postgres_recovery
Will the docker command fail if recovery was not successfiull? If so one could check this in bash and send a notification out. One could do that by sendind a E-Mail or Slack. In both cases additional setup and handling of authetication is required.