Backup and Restoration Planning

You can have a cron job (on your server, not in the container) run

docker exec app bash -c "discourse backup"

If the data are really critical, then you can set up a postgres replication server and have every commit on a second server.