Help with migration to Discourse from old platform

我们以前是自建了一个轻型论坛,正在迁移到discourse,我们想维持原论坛一段时间,给用户迁移的时间。遇到了一些技术问题。

1)原有用户名和帖子转移到discourse
我们已经将原论坛所有帖子数据库导出,但是在添加进Discourse时,似乎不能批量写入;按照论坛给出的管理员发帖再转移帖子所有权方式,似乎同样失效。不知道各位大佬推荐如何导入旧帖子(最低要求是只需要旧帖子内容和用户名)
2)原论坛新发的帖子
因为想继续运营原站一段时间,所以原论坛有人发帖我们会自动转发到DIscourse,我们现在是模拟用户发帖,不知道各位大佬有没有更推荐的方式

Translated

We previously operated a lightweight forum and are now migrating to Discourse. We wish to maintain the original forum for a period to allow users time to transition. We have encountered some technical issues in the process.

  1. Transferring existing usernames and posts to Discourse
    We have exported the database of all original forum posts, but it appears that Discourse does not support bulk importing. The method suggested by the forum, which involves an administrator posting and then transferring ownership, also seems ineffective. We are seeking advice on how to import the old posts, with the minimum requirement being the content and usernames.

  2. New posts on the original forum
    As we intend to continue operating the original site for a while, any new posts on the original forum will be automatically forwarded to Discourse. Currently, we are simulating user posts for this purpose. We are open to recommendations for more efficient methods.

  1. Transferring existing usernames and posts to Discourse
    We have exported the database of all original forum posts, but it appears that Discourse does not support bulk insertion. The method suggested by the forum, which involves an administrator posting and then transferring ownership of the posts, also seems to be ineffective. We are unsure of the recommended method for importing old posts (the minimum requirement being the content and usernames).

Bulk is supported in our importer scripts. There are many, and the process is documented at

  1. New posts on the original forum
    As we intend to continue operating the original site for a while, any new posts on the original forum will be automatically forwarded to Discourse. Currently, we are simulating user posts. We are unsure if there is a more recommended method for this process.

The recommendation is to not do that. The one way sync will be confusing, specially if someone replies on the new forum and doesn’t understand why everyone else on the topic is ignoring him.

The best practice is to pick a cutoff date and do the move.

5 Likes