python-mapswipe-workers icon indicating copy to clipboard operation
python-mapswipe-workers copied to clipboard

Restore backup regulary (Postgres)

Open Matthias-Schaub opened this issue 4 years ago • 0 comments

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.

Matthias-Schaub avatar Jun 17 '20 11:06 Matthias-Schaub