Looking for some guidance/best practice on how to back up a postgresql database running in an Openshift pod. I've come across this rsync solution for application data - https://docs.openshift.com/enterprise/3.2/admin_guide/backup_restore.html#backup-application-data - but was wondering how to use pg_dump?
I'd like the pg_dump to dump the database to a volume outside the pod.