The old PR was pretty verbose since I had left over a lot of code from a previous approach I was trying. I ended up rearchitecting the PR to be much simpler and more reliable.
This PR adds PgBackRest support to backups. PgBackRest allows for incremental backups, which means that it is much, much more storage efficient for larger databases.
If PgBackRest is enabled, instead of requiring an image change, we install PgBackRest into the Postgres container so people can use custom images instead of having to rely on PGBR-specific ones.
Also made sure that functionality works fine in dev mode.
Mahad Kalam
@SkyfallWasTaken
Zach Latta
@zachlatta