# Importing bbPress into Discourse

**URL:** https://meta.discourse.org/t/importing-bbpress-into-discourse/12719
**Category:** Extras
**Created:** [February 14, 2014, 4:30pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719 "2014-02-14T16:30:05Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![dkobia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dkobia/32/107439_2.png) [@dkobia](https://meta.discourse.org/u/dkobia)
#### Post date: [February 14, 2014, 4:30pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/1 "2014-02-14T16:30:05Z")

</div>

I forked [GitHub - waynegraham/discourse-import-bbpress: bbPress importer for Discourse · GitHub](https://github.com/waynegraham/discourse-import-bbpress) which offered support for only bbPress as a standalone. The bbPress standalone has been deprecated for some time now so Wayne’s plugin couldn’t help me. My updated version works with bbPress installed as a plugin for Wordpress.

**You can find my plugin here: [GitHub - dkobia/discourse-import-bbpress-plugin: bbPress (plugin) importer for Discourse · GitHub](https://github.com/dkobia/discourse-import-bbpress-plugin)**

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [February 19, 2014, 10:19am UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/2 "2014-02-19T10:19:38Z")

</div>

Wow, I don’t follow support much so I completely missed this. You should ask to have this moved to the Plugins category.

**Thank you so much!** This is absolutely critical for my community to move over to Discourse.

Also, you should get in touch with @michaeld, because:

> [@Communiteq migration service for your existing forum](https://meta.discourse.org/t/communiteq-migration-service-for-your-existing-forum/12201):
>
> In the last few months, we’ve been working on making a number of conversions go smoothly. We are proud to offer the following conversions as an addition to our [[Communiteq](https://www.communiteq.com) (formerly DiscourseHosting)][1](https://www.communiteq.com/) hosting service: phpBB to Discourse Vanilla to Discourse vBulletin to Discourse XenForo to Discourse SMF to Discourse Invision Power Board (IPB) to Discourse self-hosted or elsewhere hosted Discourse to our hosting Bitnami to our hosting Although the conversion process is pretty smooth, it’s b…

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [February 19, 2014, 7:53pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/3 "2014-02-19T19:53:47Z")

</div>

I never spotted this one either. Going to play around with it!

---

<div class="post-metadata">

### Author: ![jorgtron](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jorgtron/32/114269_2.png) [@jorgtron](https://meta.discourse.org/u/jorgtron)
#### Post date: [March 2, 2014, 6:55pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/4 "2014-03-02T18:55:22Z")

</div>

@dkobia: Great plugin - it has probably saved me a ton of time. However, I’m having some issues.

I have the database with the old forum posts on my localhost. Using the plugin I’ve got all the content into discourse, running locally. So my next thought was to use the backup function in the admin panel to transfer the content from localhost to my digitalocean docker production server. However, when I try to restore a backup I get lots of different errors (“hstore not found”, “TABLE already exists etc.”).

Have you or anyone else tested if a bbpress converted database can be successfully backed up?

As an alternative, I tried just exporting the entire database using pgAdmin, and then importing it using pg\_restore on the command line in the docker app. Which seems to work, but the app just shows an empty white page afterwards. So something is very broken, but I can’t quite figure out what. Frustrating. 🙂

Any tips are appreciated 😃

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [March 2, 2014, 9:33pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/5 "2014-03-02T21:33:47Z")

</div>

Are your forums on the exact same version?

---

<div class="post-metadata">

### Author: ![jorgtron](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jorgtron/32/114269_2.png) [@jorgtron](https://meta.discourse.org/u/jorgtron)
#### Post date: [March 2, 2014, 11:10pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/6 "2014-03-02T23:10:46Z")

</div>

@michaeld: The local and production forums might be off by 0.0.1 or so.

However, I’ve tried creating a backup locally and then importing the same backup locally in the very same forum, which fails with the same errors I mentioned - so even that doesn’t work. 😕

---

<div class="post-metadata">

### Author: ![treb0r](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@treb0r](https://meta.discourse.org/u/treb0r)
#### Post date: [October 22, 2014, 2:06pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/7 "2014-10-22T14:06:43Z")

</div>

I have just installed discourse using docker (impressed!), and I have an old BBpress forum that I would like to try to import.

I am very new to this, and reading through the instructions here:

[https://github.com/dkobia/discourse-import-bbpress-plugin](https://github.com/dkobia/discourse-import-bbpress-plugin)

I have a simple question - how should I ‘Head over to the discourse directory’ given that it is running in a docker container? SSH?

How do I then run ‘rake import:bbpress’?

Sorry for basic questions, this is my first experience of both Discourse and Docker.

---

<div class="post-metadata">

### Author: ![treb0r](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@treb0r](https://meta.discourse.org/u/treb0r)
#### Post date: [October 22, 2014, 6:06pm UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/8 "2014-10-22T18:06:16Z")

</div>

Okay, sorry for the n00b question above.

I’ve seen this thread:

> [@Migrate from another forum to Discourse](https://meta.discourse.org/t/migrating-to-discourse-from-another-forum-software/16616):
>
> mega This guide serves as a high level overview of the migration process. For specifics on the wide range of forum softwares to import, including Vanilla, phpBB3, SMF2, bbPress, and vBulletin, review our [dedicated tutorials](https://meta.discourse.org/tags/c/documentation/10/migrations). Not all scripts have tutorials, but an exhaustive list of available imports is available under the [script/import\_scripts](https://github.com/discourse/discourse/tree/main/script/import_scripts) folder on GitHub. For larger migrations, there is also a faster [script/bulk\_import](https://github.com/discourse/discourse/tree/main/script/bulk_import) system that writes directly to the database. So you want to mi…

…and now I’m wondering how to go about running the BBPress script.

The instructions say:

"After reviewing and modifying, to run the bbPress import script you will do:

cd path/to/your/discourse\_folder  
ruby script/import\_scripts/bbpress.rb"

In my case this will be from inside the Docker container. If I can get it to run, am I correct in thinking that the database lives outside the container and that any content I manage to import will persist if I destry and rebuild the container?

Also, can I run mailcatcher from inside the container? I would like to avoid spamming my users as I tinker with the import process.

Any hints or tips gratefully received! Anybody looking for some paid consulting work?

---

<div class="post-metadata">

### Author: ![hamzahali](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hamzahali/32/115912_2.png) [@hamzahali](https://meta.discourse.org/u/hamzahali)
#### Post date: [April 3, 2015, 10:23am UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/9 "2015-04-03T10:23:21Z")

</div>

Does it work with bbpress as wordpress plugin?

---

<div class="post-metadata">

### Author: ![tonninseteli](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@tonninseteli](https://meta.discourse.org/u/tonninseteli)
#### Post date: [April 7, 2015, 8:07am UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/10 "2015-04-07T08:07:43Z")

</div>

I would really like to hear some success, and even better, horror stories about bbpress import as I might have to take up this task at some point and am curious to see what sort of trouble people have bumped into.

---

<div class="post-metadata">

### Author: ![lead4good](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@lead4good](https://meta.discourse.org/u/lead4good)
#### Post date: [May 25, 2017, 11:25am UTC](https://meta.discourse.org/t/importing-bbpress-into-discourse/12719/11 "2017-05-25T11:25:54Z")

</div>

I posted on [how to import bbpress into discourse](https://meta.discourse.org/t/how-to-use-the-bbpress-import-script-or-any-other-import-script-with-mysql-dependency/63349)
