# Where is user data stored?

**URL:** https://meta.discourse.org/t/where-is-user-data-stored/176188
**Category:** Self-hosting
**Created:** [January 15, 2021, 10:49am UTC](https://meta.discourse.org/t/where-is-user-data-stored/176188 "2021-01-15T10:49:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RhysGoodwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rhysgoodwin/32/195363_2.png) [@RhysGoodwin](https://meta.discourse.org/u/RhysGoodwin)
#### Post date: [January 15, 2021, 10:49am UTC](https://meta.discourse.org/t/where-is-user-data-stored/176188/1 "2021-01-15T10:49:10Z")

</div>

Kia ora. I’ve installed Discourse on a digital ocean VM using the INSTALL-cloud.md guide. I’m new to Docker but just wanted to confirm - is all user data stored in the /var/discourse install directory?

When I say user data I mean any content within the forum, e.g. posts, user accounts, hashed passwords, uploads etc.

I’m mainly asking from a privacy/security point of view.

And I presume that anything under the /var/lib/docker root is application (i.e. docker image) related and nothing persists in there as far as Discourse is concerned?

Ngā mihi  
Rhys

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 15, 2021, 2:57pm UTC](https://meta.discourse.org/t/where-is-user-data-stored/176188/2 "2021-01-15T14:57:25Z")

</div>

Right. Persistent data is in `/var/discourse/shared`.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 14, 2021, 2:57pm UTC](https://meta.discourse.org/t/where-is-user-data-stored/176188/3 "2021-02-14T14:57:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
