# 将 phpBB3 论坛迁移到 Discourse

**URL:** https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810
**Category:** Migrating to Discourse
**Tags:** how-to
**Created:** [2015 年7 月 5 日 22:02 UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810 "2015-07-05T22:02:57Z")
**Posts on this page:** 1
**Showing post:** 658

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [2022 年1 月 17 日 20:16 UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/658 "2022-01-17T20:16:16Z")

</div>

有一个用于在 PostgreSQL 上运行的 phpBB 的批量导入脚本。你看到它了吗？[discourse/script/bulk\_import/phpbb\_postgresql.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/script/bulk_import/phpbb_postgresql.rb)

但是，我认为它最近没有被使用过，所以它可能已经损坏，并且可能无法与当前版本的 phpBB 一起使用，因为 Markdown 存储格式已更改。

> [@ePirat](#):
>
> 据我所知，这似乎主要是为使用正确的数据库适配器的 PostgreSQL 模式添加适当的 SQL 语句的问题。

👍

无论你选择哪种方式，除非你真的想，否则我不会花太多时间来完善你的解决方案。当前的导入脚本将在今年某个时候被弃用……

---

_[View the full topic](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)._
