# 使用rsync迁移discourse时遇到的Postgresql问题

**URL:** <https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771>\
**Category:** Self-hosting\
**Created:** [2024年七月27日 14:27 UTC](https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771 "2024-07-27T14:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2025年十二月19日 01:30 UTC](https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771/10 "2025-12-19T01:30:55Z")

</div>

> [@pfaffman](#):
>
> 恢复备份比复制原始数据库文件更容易。

我们在内部编写了数百小时的工具来处理数据和数据库文件的移动。

_仍然_有时恢复备份更容易。

---

_[View the full topic](https://meta.discourse.org/t/postgresql-problem-on-moving-discourse-with-rsync/318771)._
