# 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:** 3

<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,‏ 10:58pm UTC](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679/3 "2018-11-25T22:58:09Z")

</div>

Thanks @cpradio this worked out rather well and works with any database (ie, even non-Docker database instances), but there was one major hiccup: It’s not made clear that the process will not transfer the database info over and any existing tables will be effectively lost.

I guess the followup would be: If one were to want to retain the data after moving to a separate database, what’s the process for that?

---

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