# 暂时使用网络存储进行还原、PSQL 更新，

**URL:** <https://meta.discourse.org/t/make-temporary-use-of-network-storage-for-restores-psql-update/351878>\
**Category:** Self-hosting\
**Created:** [2025年二月12日 12:30 UTC](https://meta.discourse.org/t/make-temporary-use-of-network-storage-for-restores-psql-update/351878 "2025-02-12T12:30:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![helmi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helmi/32/114772_2.png) [@helmi](https://meta.discourse.org/u/helmi)\
**Post date:** [2025年二月12日 12:30 UTC](https://meta.discourse.org/t/make-temporary-use-of-network-storage-for-restores-psql-update/351878/1 "2025-02-12T12:30:37Z")

</div>

我们正在一个VPS设置上运行一个更大的Discourse安装，它基本上对我们来说效果很好。在CPU/内存性能方面，我们有足够的空间。但磁盘空间有点问题——不是在日常业务中，而是在升级Postgres时（例如，由于这个原因，13-\>15的升级仍然未完成），我们缺乏空间，而且无法轻易扩展。

我知道Postgres更新还有其他选择，但请把这看作是一个更一般的问题。

我们正在Hetzner上运行，在那里网络存储可以很容易地用于临时用途。

在我们的测试服务器上，我正在尝试使其以临时方式工作——首先是从实时站点恢复备份，稍后测试Postgres升级。到目前为止，我还没有成功。

我已经尝试过符号链接，但注意到它不起作用，并且也在这里的某个地方读到它不是推荐的方法。我也尝试过将/shared共享从/var/discourse/shared/standalone移动到/mnt/ext-storage/standalone，并将文件移动到那里——不幸的是，并非没有问题。我甚至无法完成构建。

是否有任何方法适用于这些情况？我知道驱动器性能比本地驱动器差很多，但我并不打算在它上面运行论坛。我只是想找到一种舒适的方式在某些场景中使用它。

---

_[View the full topic](https://meta.discourse.org/t/make-temporary-use-of-network-storage-for-restores-psql-update/351878)._
