veritus / veritus-backend

1 stars 0 forks source link

Backup database #57

Closed AriHrannar closed 6 years ago

AriHrannar commented 6 years ago

Description

We dont want to lose all of our data when/if the postgres docker container shuts down. Therefore we should be able to backup our database to the host machine for safe keeping.

AriHrannar commented 6 years ago

Not really needed right now but I think the best solution would be to implement a script that uses pg_dump that cron runs every day or something like that.

AriHrannar commented 6 years ago

Ive done this in the stack file on docker cloud (and the backup on drive)