# Using a PGSQL database outside of Docker?

**URL:** <https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679>\
**Category:** Self-hosting\
**Created:** [24 בנובמבר,‏ 2018,‏ 7:33pm UTC](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679 "2018-11-24T19:33:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ylluminate](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ylluminate/32/115440_2.png) [@ylluminate](https://meta.discourse.org/u/ylluminate)\
**Post date:** [25 בנובמבר,‏ 2018,‏ 11:19pm UTC](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679/5 "2018-11-25T23:19:54Z")

</div>

Yeah, was afraid you’d say that @Falco. 😉 I guess the question evolves to be: how do you get a backup of the pgsql instance that Discourse is using / how do you get into that instance? `./launcher enter postgres`?

So I’ve removed the template line from the `app.yml`, I guess that means I need to put that back in and then `./launcher rebuild app`? Or is there a better way?

And if I do this, does that mean it will try to use the Docker pgsql db again and thus screw the app up temporarily while I have that active?

I guess a kind of complete snapshot of what’s happening there and how to interact with it and what’s to be expected (such as perhaps the new external db no longer being used temporarily while recovering the Dockerized pgsql instance)…

---

_[View the full topic](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679)._
