# Change Storage Location

**URL:** https://meta.discourse.org/t/change-storage-location/88136
**Category:** Support
**Created:** [May 22, 2018, 1:57pm UTC](https://meta.discourse.org/t/change-storage-location/88136 "2018-05-22T13:57:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Tyson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyson/32/86155_2.png) [@Tyson](https://meta.discourse.org/u/Tyson)
#### Post date: [May 22, 2018, 1:57pm UTC](https://meta.discourse.org/t/change-storage-location/88136/1 "2018-05-22T13:57:23Z")

</div>

I initially installed Discourse on a small server with limited storage capacity and now I’m running out of space. Long term, I will end up moving to a new server. Short term, is it possible to relocate my current storage to a file server? It’s on the same local network as the Discourse server.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 23, 2018, 1:02am UTC](https://meta.discourse.org/t/change-storage-location/88136/2 "2018-05-23T01:02:52Z")

</div>

Sure @jomaxro can maybe point you to a relevant howto, if we do not have one, we should.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [May 23, 2018, 1:13pm UTC](https://meta.discourse.org/t/change-storage-location/88136/4 "2018-05-23T13:13:34Z")

</div>

We don’t appear to have a specific #howto for this, but it should be fairly simple (just moving the data to a new location and changing two lines in the `app.yml`). I’m going to do some testing and then I’ll write this up.

---

<div class="post-metadata">

### Author: ![Tyson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyson/32/86155_2.png) [@Tyson](https://meta.discourse.org/u/Tyson)
#### Post date: [May 23, 2018, 1:25pm UTC](https://meta.discourse.org/t/change-storage-location/88136/5 "2018-05-23T13:25:03Z")

</div>

Thank you. That would be great!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [May 23, 2018, 2:28pm UTC](https://meta.discourse.org/t/change-storage-location/88136/6 "2018-05-23T14:28:00Z")

</div>

This should do it:

> [@Change Discourse install storage location](https://meta.discourse.org/t/change-discourse-install-storage-location/88256):
>
> Need to move your Discourse install to another (local) directory? Let’s get started! Configure new directory Ensure the new directory is properly mounted/connected as needed. Then create the folder where Discourse will live. cd /new/discourse/location mkdir -p shared/standalone Copy existing files to new locationwarning From this point forward your site will be down. Stop the container to ensure no changes to the files are made during the transfer. cd /var/discourse ./launcher stop app…

---

<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: [November 13, 2020, 6:50am UTC](https://meta.discourse.org/t/change-storage-location/88136/7 "2020-11-13T06:50:54Z")

</div>



---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [November 13, 2020, 11:36am UTC](https://meta.discourse.org/t/change-storage-location/88136/8 "2020-11-13T11:36:36Z")

</div>


