# DB backup config error

**URL:** <https://meta.discourse.org/t/db-backup-config-error/100604>\
**Category:** Self-hosting\
**Created:** [October 27, 2018, 4:49am UTC](https://meta.discourse.org/t/db-backup-config-error/100604 "2018-10-27T04:49:43Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [October 29, 2018, 10:57pm UTC](https://meta.discourse.org/t/db-backup-config-error/100604/7 "2018-10-29T22:57:44Z")

</div>

Oh, I totally missed the different ports in your first post. 😅

It looks like [backups use the default PostgreSQL port](https://github.com/discourse/discourse/blob/f8305f53c787ad0b6cd865d56a7b8b0f77f9dcc2/config/discourse_defaults.conf#L40-L41) unless specified otherwise. I think you might be able to override it by configuring `DISCOURSE_DB_BACKUP_PORT: 5433` in your container config.

---

_[View the full topic](https://meta.discourse.org/t/db-backup-config-error/100604)._
