# 将 Discourse 生产实例 1:1 迁移到测试服务器

**URL:** <https://meta.discourse.org/t/altere-discourse-produktiv-instanz-1-1-auf-testserver-migrieren/388222>\
**Category:** Self-hosting\
**Tags:** unsupported-install, hosting\
**Created:** [2025年十一月12日 09:01 UTC](https://meta.discourse.org/t/altere-discourse-produktiv-instanz-1-1-auf-testserver-migrieren/388222 "2025-11-12T09:01:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)\
**Post date:** [2025年十一月12日 20:24 UTC](https://meta.discourse.org/t/altere-discourse-produktiv-instanz-1-1-auf-testserver-migrieren/388222/4 "2025-11-12T20:24:33Z")

</div>

如果您使用的是可以克隆整个 VPS 的提供商，这可能是一个值得探索的捷径：

> [@keith1](#):
>
> 我克隆了 DigitalOcean 上的整个液滴，然后登录到液滴并禁用了 app.yml 中的所有 ssl/https 设置。这至少让我可以复制我的社区内容来调整设置。

此外，使用 rsync 迁移站点的此过程似乎可以 1:1 迁移整个站点……  
[使用 rsync 将 Discourse 站点迁移到另一个 VPS - 社区 wiki / 系统管理员](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812)  
_[编辑：如果执行了规定的重建，则不是 1:1。需要启动而不重建。)_

基本过程看起来相当直接，尽管有许多评论提供了修改后的方法和命令参数。我还没有亲自做过。如果我必须做，我想我会从基础开始，看看效果如何。评论中讨论了几种可能的陷阱。

---

_[View the full topic](https://meta.discourse.org/t/altere-discourse-produktiv-instanz-1-1-auf-testserver-migrieren/388222)._
