# 在不先设置Web UI的情况下，将Discourse迁移到新服务器？

**URL:** <https://meta.discourse.org/t/move-discourse-to-a-new-server-without-setting-up-the-web-ui-first/76504>\
**Category:** Self-hosting\
**Created:** [2017 年12 月 20 日 19:29 UTC](https://meta.discourse.org/t/move-discourse-to-a-new-server-without-setting-up-the-web-ui-first/76504 "2017-12-20T19:29:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2017 年12 月 20 日 20:10 UTC](https://meta.discourse.org/t/move-discourse-to-a-new-server-without-setting-up-the-web-ui-first/76504/2 "2017-12-20T20:10:23Z")

</div>

I think what you want to know is that you can copy the backup to the new instance and then restore from the command line like

```plaintext
cd /var/discourse
./launcher enter app
discourse enable_restore
discourse restore

```

The last command will give you a list of available backups and you can copy-and-paste to start the restore.

---

_[View the full topic](https://meta.discourse.org/t/move-discourse-to-a-new-server-without-setting-up-the-web-ui-first/76504)._
