# 将 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:** 5

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [2025年十一月13日 07:26 UTC](https://meta.discourse.org/t/altere-discourse-produktiv-instanz-1-1-auf-testserver-migrieren/388222/5 "2025-11-13T07:26:48Z")

</div>

> [@ToddZ](#):
>
> [使用 rsync 将 Discourse 站点迁移到另一台 VPS - 社区 Wiki / Sysadmins](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812)

但这是否涉及到重建论坛？

不过，这也许可行：

> [@pfaffman](#):
>
> 你或许可以执行 `./launcher destroy app;./launcher start app` 然后从命令行恢复备份。
> 
> 我推荐使用 [使用 rsync 将 Discourse 站点迁移到另一台 VPS](https://meta.discourse.org/t/move-a-discourse-site-to-another-vps-with-rsync/43812) 和 [设置一个暂存服务器](https://meta.discourse.org/t/set-up-a-staging-server/225951)
> 
> > [@elRicharde](#):
> >
> > 但是，我绝对不想执行重建，而是想在第一步运行一个 1:1 的副本。
> 
> 那么你应该将你的 docker 镜像推送到某个地方，然后使用 `./launcher start-cmd app` 来了解如何启动它。所以你需要足够了解 docker 才能将镜像推送到私有仓库并启动它，然后恢复备份。

（顺便问一下，这个话题与链接中的有什么不同？）

---

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