# How can I import/export settings into a file?

**URL:** <https://meta.discourse.org/t/how-can-i-import-export-settings-into-a-file/51496>\
**Category:** Product Support\
**Created:** [2016 年10 月 13 日 11:41 UTC](https://meta.discourse.org/t/how-can-i-import-export-settings-into-a-file/51496 "2016-10-13T11:41:59Z")\
**Posts on this page:** 1\
**Showing post:** 19

<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)\
发布日期： [2021 年1 月 18 日 16:21 UTC](https://meta.discourse.org/t/how-can-i-import-export-settings-into-a-file/51496/19 "2021-01-18T16:21:24Z")

</div>

奇怪。抱歉，但这已是我能提供的最佳免费建议。如果您有预算，可以给我留言。

如果您在两个站点上都采用自建部署，可以尝试使用一个 rake 任务。

我最近自己并没有使用那个脚本。也许是 Discourse 的某些内容发生了变化，但我不太这么认为。如果您确定使用的是目标站点的 API 密钥，那我就不敢妄加猜测了。

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-import-export-settings-into-a-file/51496)._
