Issue Rebuilding App Failing on Postgres Upgrade

When I take backups within discourse the file generated is 3GB…