# 更改存储位置

**URL:** https://meta.discourse.org/t/change-storage-location/88136
**Category:** Support
**Created:** [2018年五月22日 13:57 UTC](https://meta.discourse.org/t/change-storage-location/88136 "2018-05-22T13:57:23Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [2018年五月23日 14:28 UTC](https://meta.discourse.org/t/change-storage-location/88136/6 "2018-05-23T14:28:00Z")

</div>

这应该就可以了：

> [@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…

---

_[View the full topic](https://meta.discourse.org/t/change-storage-location/88136)._
