# Database Replication

**URL:** <https://meta.discourse.org/t/database-replication/185889>\
**Category:** Feature\
**Created:** [April 7, 2021, 2:14pm UTC](https://meta.discourse.org/t/database-replication/185889 "2021-04-07T14:14:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ghan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghan/32/177964_2.png) [@Ghan](https://meta.discourse.org/u/Ghan)\
**Post date:** [April 7, 2021, 4:27pm UTC](https://meta.discourse.org/t/database-replication/185889/5 "2021-04-07T16:27:36Z")

</div>

> [@Falco](#):
>
> That way it’s all under your control and you can use standard PostgreSQL tools and features.

Oh neat, thanks for the link to that.

Are there any catches with doing this when it comes time to do database upgrades? I know with the default install Discourse typically tries to handle this on its own so would it be necessary to upgrade the database before doing a Discourse rebuild that calls for a new DB version? Or would you need to upgrade the DB after Discourse?

---

_[View the full topic](https://meta.discourse.org/t/database-replication/185889)._
